<%--
  User: val.jzp
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<form id="myFormDepartment" name="" action="<c:url value="/web/depart/executeDepartmentInfoEdit.action" />"
      method="post">


<div style="background-color:#FAEBD7;width:100%;height:20px; text-align:center">访问详细信息</div>


<table class="table-container">


    <c:if test="${departmentInfo != null}">
        <tr>
            <input type="hidden" name="departmentInfoId" value="${departmentInfo.departmentInfoId}"/>
        </tr>
    </c:if>

    <c:if test="${questionTwo != null}">
        <tr>
            <input type="hidden" name="questionTwoId" value="${questionTwo.questionTwoId}"/>
        </tr>
    </c:if>

    <tr>
        <td class="item-name"><label for="f_interviewUserName">访问员姓名：</label></td>
        <td class="item-value">
            <input type="text" id="f_interviewUserName" name="interviewUserName"
                   value="${departmentInfo.interviewUserName}"/>
        </td>
        <td class="item-name"><label for="f_interviewDate">访问日期：</label></td>
        <td class="item-value">
            <input style="width: 75%;" type="text" id="f_interviewDate" name="interviewDateResult" class="Wdate"
                   onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" style="width:192px;"
                   value="<fmt:formatDate value="${departmentInfo.interviewDate}" type="both" pattern="yyyy-MM-dd" />"/>
        </td>
    </tr>

    <tr>
        <td class="item-name"><label for="f_enterDepartmentDate">进店时间：</label></td>
        <td class="item-value">
            <input class="Wdate" id="f_enterDepartmentDate" name="enterDepartmentDateResult"
                   value="<fmt:formatDate value="${departmentInfo.enterDepartmentDate}" type="both" pattern="yyyy-MM-dd HH:mm" />"
                   type="text"
                   onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm',maxDate:'#F{$dp.$D(\'f_leaveDepartmentDate\')}'})"/>

            <%--<input type="text" id="f_enterDepartmentDate" name="enterDepartmentDateResult" class="Wdate" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" style="width:192px;"--%>
            <%--value="<fmt:formatDate value="${departmentInfo.enterDepartmentDate}" type="both" pattern="yyyy-MM-dd HH:mm:ss" />" />--%>
        </td>

        <td class="item-name"><label for="f_leaveDepartmentDate">离店时间：</label></td>
        <td class="item-value">
            <input class="Wdate" id="f_leaveDepartmentDate" name="leaveDepartmentDateResult"
                   value="<fmt:formatDate value="${departmentInfo.leaveDepartmentDate}" type="both" pattern="yyyy-MM-dd HH:mm" />"
                   type="text"
                   onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm',minDate:'#F{$dp.$D(\'f_enterDepartmentDate\')}'})"/>

            <%--<input type="text" id="f_leaveDepartmentDate" name="leaveDepartmentDateResult" class="Wdate" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" style="width:192px;"--%>
            <%--value="<fmt:formatDate value="${departmentInfo.leaveDepartmentDate}" type="both" pattern="yyyy-MM-dd HH:mm:ss" />" />--%>
        </td>
    </tr>

    <tr>
        <td class="item-name"><label for="f_departmentChannel">门店渠道：</label></td>
        <td class="item-value">
            <input type="text" id="f_departmentChannel" size="100" name="departmentChannel" disabled
                   value="${departmentInfo.departmentChannel}"/>
        </td>
    </tr>
    <tr>
        <td class="item-name"><label for="f_departmentName">门店名称：</label></td>
        <td class="item-value">
            <input type="text" id="f_departmentName" name="departmentName" disabled
                   value="${departmentInfo.departmentName}"/>
        </td>
        <td class="item-name"><label for="f_departmentNum">门店编号：</label></td>
        <td class="item-value">
            <input type="text" id="f_departmentNum" disabled name="departmentNum"
                   value="${departmentInfo.departmentNum}"/>
        </td>
    </tr>
    <tr>
        <td class="item-name"><label for="f_departmentAddress">门店地址：</label></td>
        <td colspan="3" class="item-value">
            <input type="text" id="f_departmentAddress" name="departmentAddress" disabled style="width: 91%"
                   value="${departmentInfo.departmentAddress}"/>
        </td>
    </tr>
</table>


<div style="background-color:#FAEBD7;width:100%;height:20px; text-align:center">问卷</div>


<style type="text/css">
    #v_kkk tr {
        margin: 10px 0;
    }
</style>

<table id="v_kkk" style="width:100%;">
    <tr>
        <td>
            <span style="width:500px;display:inline-block;font-size:16px; font-weight:bold;">门店是否为有效的门店？</span>
            <span>
                <input type="radio" value="1" id="f_canUserDepartmentAnswer1" name="canUserDepartmentAnswer"
                       <c:if test="${questionTwo.canUserDepartmentAnswer == '1'}">checked="checked" </c:if> />
                <label for="f_canUserDepartmentAnswer1">是</label>
                <input type="radio" value="2" id="f_canUserDepartmentAnswer2" name="canUserDepartmentAnswer"
                       <c:if test="${questionTwo.canUserDepartmentAnswer == '2'}">checked="checked" </c:if> />
                <label for="f_canUserDepartmentAnswer2">否</label>
            </span>
            <span>  原因：<input type="text" value="${questionTwo.canUserDepartmentInfo}" id="canUserDepartmentInfo" name="canUserDepartmentInfo"/>

            </span>
        </td>
    </tr>

    <tr>
        <td>
            <input type="file" id="canUserDepartmentImage1File" name="canUserDepartmentImage1File"/>
            <input type="button" onclick="ajaxFileUploadThree('canUserDepartmentImage1File','#canUserDepartmentImage1Img1','#canUserDepartmentImage1','#canUserDepartmentImage1Href')"
                   value="上传图片"/>

            <a id="canUserDepartmentImage1Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${questionTwo.canUserDepartmentImage1}"/>" target="_blank">
                <img id="canUserDepartmentImage1Img1" height="50px" width="50px" class="testimag"
                     src="<c:url value="/${questionTwo.canUserDepartmentImage1}"/>"/>
            </a>
            <input type="hidden" id="canUserDepartmentImage1" name="canUserDepartmentImage1"
                   value="${questionTwo.canUserDepartmentImage1}"/>
        </td>
    </tr>

    <tr>
        <td>
            <input type="file" id="canUserDepartmentImage2File" name="canUserDepartmentImage2File"/>
            <input type="button" onclick="ajaxFileUploadThree('canUserDepartmentImage2File','#canUserDepartmentImage2Img','#canUserDepartmentImage2','#canUserDepartmentImage2Href')"
                   value="上传图片"/>

            <a id="canUserDepartmentImage2Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${questionTwo.canUserDepartmentImage2}"/>" target="_blank">
                <img id="canUserDepartmentImage2Img" height="50px" width="50px" class="testimag"
                     src="<c:url value="/${questionTwo.canUserDepartmentImage2}"/>"/>
            </a>
            <input type="hidden" id="canUserDepartmentImage2" name="canUserDepartmentImage2"
                   value="${questionTwo.canUserDepartmentImage2}"/>
        </td>
    </tr>



    <tr>
    <td style="font-size:16px;font-weight:bold;">Q1&nbsp;&nbsp;以下这些产品是否在门店中陈列？</td>
</tr>
<tr>
    <td>
        <span style="width:500px;display:inline-block;font-size:14px;">a、轩尼诗VSOP 700ml</span>
            <span>
                <input type="radio" value="1" id="f_questionOneAAnswer1" name="questionOneAAnswer"
                       <c:if test="${departmentInfo.questionOneAAnswer == '1'}">checked="checked" </c:if> />
                <label for="f_questionOneAAnswer1">是</label>
                <input type="radio" value="2" id="f_questionOneAAnswer2" name="questionOneAAnswer"
                       <c:if test="${departmentInfo.questionOneAAnswer == '2'}">checked="checked" </c:if> />
                <label for="f_questionOneAAnswer2">否</label>
            </span>
            </td>
        </tr>
        <script type="text/javascript">
            $("input[name='questionOneAAnswer']").change(function () {
                if ($(this).val() == 1) {
                    $("#questionOneADiv").css("display", "inline");
                    $("#questionOneAPrice").attr("class", "validateNeed");
                }
                else {
                    $("#questionOneAPrice").removeAttr("class");
                    $("#questionOneADiv").css("display", "none");
                }
            });
        </script>
        <tr>
            <td>
        <c:if test="${departmentInfo.questionOneAAnswer == '1'}">
            <div id="questionOneADiv">
                价格：<input type="text" id="questionOneAPrice" name="questionOneAPrice" class="validateNeed"
                          value="${departmentInfo.questionOneAPrice}"/>
            </div>
        </c:if>

        <c:if test="${departmentInfo.questionOneAAnswer == null or departmentInfo.questionOneAAnswer == '2'}">
            <div id="questionOneADiv" style="display: none">
                价格：<input type="text" id="questionOneAPrice" name="questionOneAPrice" value=""/>
            </div>
        </c:if>
    </td>
</tr>
<script type="text/javascript">
    $("input[name='questionOneAPrice']").validatebox({
        required: true,
        validType: [
            "verifyCharacterType[/^\\d{0,8}(\\.\\d{0,1})?$/, '价格有数字和小数点组成']"
        ],
        invalidMessage: "请输入正确的价格"
    });
</script>

<tr>
    <td>
        <input type="file" id="questionOneAImageUrl1" name="questionOneAImageUrl1"/>
        <input type="button" onclick="ajaxFileUploadThree('questionOneAImageUrl1','#questionOneAImageUrlImage1','#questionOneAImageUrl','#questionOneAImageUrl1Href')"
               value="上传图片"/>
        <input type="hidden" id="questionOneAImageUrl" name="questionOneAImageUrl"
               value="${departmentInfo.questionOneAImageUrl}"/>
        <a id="questionOneAImageUrl1Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionOneAImageUrl}"/>" target="_blank">
        <img id="questionOneAImageUrlImage1" height="50px" width="50px" class="testimag"
             src="<c:url value="/${departmentInfo.questionOneAImageUrl}"/>"/>
        </a>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionOneAImageUrl2File" name="questionOneAImageUrl2File"/>
        <input type="button" onclick="ajaxFileUploadThree('questionOneAImageUrl2File','#questionOneAImageUrlImage2','#questionOneAImageUrl2','#questionOneAImageUrl2Href')"
               value="上传图片"/>
        <a id="questionOneAImageUrl2Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionOneAImageUrl2}"/>" target="_blank">
        <img id="questionOneAImageUrlImage2" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionOneAImageUrl2}"/>"/>
            </a>
        <input type="hidden" id="questionOneAImageUrl2" name="questionOneAImageUrl2"
               value="${departmentInfo.questionOneAImageUrl2}"/>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionOneAImageUrl3File" name="questionOneAImageUrl3File"/>
        <input type="button" onclick="ajaxFileUploadThree('questionOneAImageUrl3File','#questionOneAImageUrlImage3','#questionOneAImageUrl3','#questionOneAImageUrl3Href')"
               value="上传图片"/>
        <a id="questionOneAImageUrl3Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionOneAImageUrl3}"/>" target="_blank">
        <img id="questionOneAImageUrlImage3" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionOneAImageUrl3}"/>"/>
            </a>
        <input type="hidden" id="questionOneAImageUrl3" name="questionOneAImageUrl3"
               value="${departmentInfo.questionOneAImageUrl3}"/>
    </td>
</tr>
<tr>
    <td>
        <p>
            --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p>
    </td>
</tr>

<tr>
    <td>
        <span style="width:500px;display:inline-block;font-size:14px;">b、轩尼诗XO 700ml</span>
            <span>
                <input type="radio" value="1" id="f_questionOneBAnswer1" name="questionOneBAnswer"
                       <c:if test="${departmentInfo.questionOneBAnswer == '1'}">checked="checked" </c:if> />
                <label for="f_questionOneBAnswer1">是</label>
                <input type="radio" value="2" id="f_questionOneBAnswer2" name="questionOneBAnswer"
                       <c:if test="${departmentInfo.questionOneBAnswer == '2'}">checked="checked" </c:if> />
                <label for="f_questionOneBAnswer2">否</label>
            </span>
    </td>
</tr>
<script type="text/javascript">
    $("input[name='questionOneBAnswer']").change(function () {
        if ($(this).val() == 1) {
            $("#questionOneBDiv").css("display", "inline");
            $("#questionOneBPrice").attr("class", "validateNeed");
        }
        else {
            $("#questionOneBPrice").removeAttr("class");
            $("#questionOneBDiv").css("display", "none");
        }
    });
</script>
<tr>
    <td>
        <c:if test="${departmentInfo.questionOneBAnswer == '1'}">
            <div id="questionOneBDiv">
                价格：<input type="text" id="questionOneBPrice" class="validateNeed" name="questionOneBPrice"
                          value="${departmentInfo.questionOneBPrice}"/>
            </div>
        </c:if>
        <c:if test="${departmentInfo.questionOneBAnswer == null or departmentInfo.questionOneBAnswer == '2'}">
            <div id="questionOneBDiv" style="display: none">
                价格：<input type="text" id="questionOneBPrice" name="questionOneBPrice" value=""/>
            </div>
        </c:if>
    </td>
</tr>
<script type="text/javascript">
    $("input[name='questionOneBPrice']").validatebox({
        required: true,
        validType: [
            "verifyCharacterType[/^\\d{0,8}(\\.\\d{0,1})?$/, '价格有数字和小数点组成']"

        ],
        invalidMessage: "请输入正确的价格"
    });
</script>

<tr>
    <td>
        <input type="file" id="questionOneBImageUrl1" name="questionOneBImageUrl1"/>
        <input type="button" onclick="ajaxFileUploadThree('questionOneBImageUrl1','#questionOneBImageUrlImage1','#questionOneBImageUrl','#questionOneBImageUrl1Href')"
               value="上传图片"/>
        <a id="questionOneBImageUrl1Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionOneBImageUrl}"/>" target="_blank">
        <img id="questionOneBImageUrlImage1" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionOneBImageUrl}"/>"/>
     </a>
        <input type="hidden" id="questionOneBImageUrl" name="questionOneBImageUrl"
               value="${departmentInfo.questionOneBImageUrl}"/>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionOneBImageUrl2File" name="questionOneBImageUrl2File"/>
        <input type="button" onclick="ajaxFileUploadThree('questionOneBImageUrl2File','#questionOneBImageUrlImage2','#questionOneBImageUrl2','#questionOneBImageUrl2Href')"
               value="上传图片"/>
        <a id="questionOneBImageUrl2Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionOneBImageUrl2}"/>" target="_blank">
        <img id="questionOneBImageUrlImage2" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionOneBImageUrl2}"/>"/>
        </a>
        <input type="hidden" id="questionOneBImageUrl2" name="questionOneBImageUrl2"
               value="${departmentInfo.questionOneBImageUrl2}"/>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionOneBImageUrl3File" name="questionOneBImageUrl3File"/>
        <input type="button" onclick="ajaxFileUploadThree('questionOneBImageUrl3File','#questionOneBImageUrlImage3','#questionOneBImageUrl3','#questionOneBImageUrl3Href')"
               value="上传图片"/>
        <a id="questionOneBImageUrl3Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionOneBImageUrl3}"/>" target="_blank">
        <img id="questionOneBImageUrlImage3" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionOneBImageUrl3}"/>"/>
        </a>
        <input type="hidden" id="questionOneBImageUrl3" name="questionOneBImageUrl3"
               value="${departmentInfo.questionOneBImageUrl3}"/>
    </td>
</tr>

<tr>
    <td>
        <p>
            --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p>
    </td>
</tr>

<tr>
    <td>
        <span style="width:500px;display:inline-block;font-size:14px;">c、轩尼诗VSOP第五代特别珍藏版 700ml</span>
            <span>
                <input type="radio" value="1" id="f_questionOneCAnswer1" name="questionOneCAnswer"
                       <c:if test="${departmentInfo.questionOneCAnswer == '1'}">checked="checked" </c:if> />
                <label for="f_questionOneCAnswer1">是</label>
                <input type="radio" value="2" id="f_questionOneCAnswer2" name="questionOneCAnswer"
                       <c:if test="${departmentInfo.questionOneCAnswer == '2'}">checked="checked" </c:if> />
                <label for="f_questionOneCAnswer2">否</label>
            </span>
    </td>
</tr>

<script type="text/javascript">
    $("input[name='questionOneCAnswer']").change(function () {
        if ($(this).val() == 1) {
            $("#questionOneCDiv").css("display", "inline");
            $("#questionOneCPrice").attr("class", "validateNeed");
        }
        else {
            $("#questionOneCPrice").removeAttr("class");
            $("#questionOneCDiv").css("display", "none");
        }
    });
</script>

<tr>
    <td>
        <c:if test="${departmentInfo.questionOneCAnswer == '1'}">
            <div id="questionOneCDiv">
                价格：<input type="text" id="questionOneCPrice" class="validateNeed" name="questionOneCPrice"
                          value="${departmentInfo.questionOneCPrice}"/>
            </div>
        </c:if>
        <c:if test="${departmentInfo.questionOneCAnswer == null or departmentInfo.questionOneCAnswer == '2'}">
            <div id="questionOneCDiv" style="display: none">
                价格：<input type="text" id="questionOneCPrice" name="questionOneCPrice" value=""/>
            </div>
        </c:if>
    </td>
</tr>

<script type="text/javascript">
    $("input[name='questionOneCPrice']").validatebox({
        required: true,
        validType: [
            "verifyCharacterType[/^\\d{0,8}(\\.\\d{0,1})?$/, '价格有数字和小数点组成']"

        ],
        invalidMessage: "请输入正确的价格"
    });
</script>
<tr>
    <td>
        <input type="file" id="questionOneCImageUrl1" name="questionOneCImageUrl1"/>
        <input type="button" onclick="ajaxFileUploadThree('questionOneCImageUrl1','#questionOneCImageUrlImage1','#questionOneCImageUrl','#questionOneCImageUrl1Href')"
               value="上传图片"/>
        <a id="questionOneCImageUrl1Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionOneCImageUrl}"/>" target="_blank">
        <img id="questionOneCImageUrlImage1" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionOneCImageUrl}"/>"/>
        </a>
        <input type="hidden" id="questionOneCImageUrl" name="questionOneCImageUrl"
               value="${departmentInfo.questionOneCImageUrl}"/>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionOneCImageUrl2File" name="questionOneCImageUrl2File"/>
        <input type="button" onclick="ajaxFileUploadThree('questionOneCImageUrl2File','#questionOneCImageUrlImage2','#questionOneCImageUrl2','#questionOneCImageUrl2Href')"
               value="上传图片"/>
        <a id="questionOneCImageUrl2Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionOneCImageUrl2}"/>" target="_blank">
        <img id="questionOneCImageUrlImage2" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionOneCImageUrl2}"/>"/>
        </a>
        <input type="hidden" id="questionOneCImageUrl2" name="questionOneCImageUrl2"
               value="${departmentInfo.questionOneCImageUrl2}"/>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionOneCImageUrl3File" name="questionOneCImageUrl3File"/>
        <input type="button" onclick="ajaxFileUploadThree('questionOneCImageUrl3File','#questionOneCImageUrlImage3','#questionOneCImageUrl3','#questionOneCImageUrl3Href')"
               value="上传图片"/>
        <a id="questionOneCImageUrl3Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionOneCImageUrl3}"/>" target="_blank">
        <img id="questionOneCImageUrlImage3" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionOneCImageUrl3}"/>"/>
        </a>
        <input type="hidden" id="questionOneCImageUrl3" name="questionOneCImageUrl3"
               value="${departmentInfo.questionOneCImageUrl3}"/>
    </td>
</tr>

<tr>
    <td>
        <p>
            --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p>
    </td>
</tr>

<tr>
    <td>
        <span style="width:500px;display:inline-block;font-size:14px;">d、轩尼诗XO第八代珍藏版 700ml</span>
            <span>
                <input type="radio" value="1" id="f_questionOneDAnswer1" name="questionOneDAnswer"
                       <c:if test="${departmentInfo.questionOneDAnswer == '1'}">checked="checked" </c:if> />
                <label for="f_questionOneDAnswer1">是</label>
                <input type="radio" value="2" id="f_questionOneDAnswer2" name="questionOneDAnswer"
                       <c:if test="${departmentInfo.questionOneDAnswer == '2'}">checked="checked" </c:if> />
                <label for="f_questionOneDAnswer2">否</label>
            </span>
    </td>
</tr>

<script type="text/javascript">
    $("input[name='questionOneDAnswer']").change(function () {
        if ($(this).val() == 1) {
            $("#questionOneDDiv").css("display", "inline");
            $("#questionOneDPrice").attr("class", "validateNeed");
        }
        else {
            $("#questionOneDPrice").removeAttr("class");
            $("#questionOneDDiv").css("display", "none");
        }
    });
</script>

<tr>
    <td>
        <c:if test="${departmentInfo.questionOneDAnswer == '1'}">
            <div id="questionOneDDiv">
                价格：<input type="text" id="questionOneDPrice" class="validateNeed" name="questionOneDPrice"
                          value="${departmentInfo.questionOneDPrice}"/>
            </div>
        </c:if>
        <c:if test="${departmentInfo.questionOneDAnswer == null or departmentInfo.questionOneDAnswer == '2'}">
            <div id="questionOneDDiv" style="display: none">
                价格：<input type="text" id="questionOneDPrice" name="questionOneDPrice" value=""/>
            </div>
        </c:if>
    </td>
</tr>

<script type="text/javascript">
    $("input[name='questionOneDPrice']").validatebox({
        required: true,
        validType: [
            "verifyCharacterType[/^\\d{0,8}(\\.\\d{0,1})?$/, '价格有数字和小数点组成']"

        ],
        invalidMessage: "请输入正确的价格"
    });
</script>

<tr>
    <td>
        <input type="file" id="questionOneDImageUrl1" name="questionOneDImageUrl1"/>
        <input type="button" onclick="ajaxFileUploadThree('questionOneDImageUrl1','#questionOneDImageUrlImage1','#questionOneDImageUrl','#questionOneDImageUrl1Href')"
               value="上传图片"/>
        <a id="questionOneDImageUrl1Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionOneDImageUrl}"/>" target="_blank">
        <img id="questionOneDImageUrlImage1" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionOneDImageUrl}"/>"/>
        </a>
        <input type="hidden" id="questionOneDImageUrl" name="questionOneDImageUrl"
               value="${departmentInfo.questionOneDImageUrl}"/>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionOneDImageUrl2File" name="questionOneDImageUrl2File"/>
        <input type="button" onclick="ajaxFileUploadThree('questionOneDImageUrl2File','#questionOneDImageUrlImage2','#questionOneDImageUrl2','#questionOneDImageUrl2Href')"
               value="上传图片"/>
        <a id="questionOneDImageUrl2Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionOneDImageUrl2}"/>" target="_blank">
        <img id="questionOneDImageUrlImage2" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionOneDImageUrl2}"/>"/>
        </a>
        <input type="hidden" id="questionOneDImageUrl2" name="questionOneDImageUrl2"
               value="${departmentInfo.questionOneDImageUrl2}"/>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionOneDImageUrl3File" name="questionOneDImageUrl3File"/>
        <input type="button" onclick="ajaxFileUploadThree('questionOneDImageUrl3File','#questionOneDImageUrlImage3','#questionOneDImageUrl3','#questionOneDImageUrl3Href')"
               value="上传图片"/>
        <a id="questionOneDImageUrl3Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionOneDImageUrl3}"/>" target="_blank">
        <img id="questionOneDImageUrlImage3" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionOneDImageUrl3}"/>"/>
        </a>
        <input type="hidden" id="questionOneDImageUrl3" name="questionOneDImageUrl3"
               value="${departmentInfo.questionOneDImageUrl3}"/>
    </td>
</tr>

<tr>
    <td>
        <p>
            --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p>
    </td>
</tr>

<tr>
    <td>
        <span style="width:500px;display:inline-block;font-size:14px;">e、马爹利名仕 700ml非礼盒装(Martell NOBLIGE COGNAC)</span>
            <span>
                <input type="radio" value="1" id="f_questionOneEAnswer1" name="questionOneEAnswer"
                       <c:if test="${departmentInfo.questionOneEAnswer == '1'}">checked="checked" </c:if> />
                <label for="f_questionOneEAnswer1">是</label>
                <input type="radio" value="2" id="f_questionOneEAnswer2" name="questionOneEAnswer"
                       <c:if test="${departmentInfo.questionOneEAnswer == '2'}">checked="checked" </c:if> />
                <label for="f_questionOneEAnswer2">否</label>
            </span>
    </td>
</tr>

<script type="text/javascript">
    $("input[name='questionOneEAnswer']").change(function () {
        if ($(this).val() == 1) {
            $("#questionOneEDiv").css("display", "inline");
            $("#questionOneEPrice").attr("class", "validateNeed");
        }
        else {
            $("#questionOneEPrice").removeAttr("class");
            $("#questionOneEDiv").css("display", "none");
        }
    });
</script>


<tr>
    <td>
        <c:if test="${departmentInfo.questionOneEAnswer == '1'}">
            <div id="questionOneEDiv">
                价格：<input type="text" id="questionOneEPrice" class="validateNeed" name="questionOneEPrice"
                          value="${departmentInfo.questionOneEPrice}"/>
            </div>
        </c:if>
        <c:if test="${departmentInfo.questionOneEAnswer == null or departmentInfo.questionOneEAnswer == '2'}">
            <div id="questionOneEDiv" style="display: none">
                价格：<input type="text" id="questionOneEPrice" name="questionOneEPrice" value=""/>
            </div>
        </c:if>
    </td>
</tr>

<script type="text/javascript">
    $("input[name='questionOneEPrice']").validatebox({
        required: true,
        validType: [
            "verifyCharacterType[/^\\d{0,8}(\\.\\d{0,1})?$/, '价格有数字和小数点组成']"

        ],
        invalidMessage: "请输入正确的价格"
    });
</script>

<tr>
    <td>
        <input type="file" id="questionOneEImageUrl1" name="questionOneEImageUrl1"/>
        <input type="button" onclick="ajaxFileUploadThree('questionOneEImageUrl1','#questionOneEImageUrlImage1','#questionOneEImageUrl','#questionOneEImageUrl1Href')"
               value="上传图片"/>
        <a id="questionOneEImageUrl1Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionOneEImageUrl}"/>" target="_blank">
        <img id="questionOneEImageUrlImage1" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionOneEImageUrl}"/>"/>
        </a>
        <input type="hidden" id="questionOneEImageUrl" name="questionOneEImageUrl"
               value="${departmentInfo.questionOneEImageUrl}"/>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionOneEImageUrl2File" name="questionOneEImageUrl2File"/>
        <input type="button" onclick="ajaxFileUploadThree('questionOneEImageUrl2File','#questionOneEImageUrlImage2','#questionOneEImageUrl2','#questionOneEImageUrl2Href')"
               value="上传图片"/>
        <a id="questionOneEImageUrl2Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionOneEImageUrl2}"/>" target="_blank">
        <img id="questionOneEImageUrlImage2" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionOneEImageUrl2}"/>"/>
        </a>
        <input type="hidden" id="questionOneEImageUrl2" name="questionOneEImageUrl2"
               value="${departmentInfo.questionOneEImageUrl2}"/>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionOneEImageUrl3File" name="questionOneEImageUrl3File"/>
        <input type="button" onclick="ajaxFileUploadThree('questionOneEImageUrl3File','#questionOneEImageUrlImage3','#questionOneEImageUrl3','#questionOneEImageUrl3Href')"
               value="上传图片"/>
        <a id="questionOneEImageUrl3Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionOneEImageUrl3}"/>" target="_blank">
        <img id="questionOneEImageUrlImage3" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionOneEImageUrl3}"/>"/>
        </a>
        <input type="hidden" id="questionOneEImageUrl3" name="questionOneEImageUrl3"
               value="${departmentInfo.questionOneEImageUrl3}"/>
    </td>
</tr>

<tr>
    <td>
        <p>
            --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p>
    </td>
</tr>

<tr>
    <td>
        <span style="width:500px;display:inline-block;font-size:14px;">f、马爹利蓝带 700ml非礼盒装( Martell Cordon Bleu)</span>
            <span>
                <input type="radio" value="1" id="f_questionOneFAnswer1" name="questionOneFAnswer"
                       <c:if test="${departmentInfo.questionOneFAnswer == '1'}">checked="checked" </c:if> />
                <label for="f_questionOneFAnswer1">是</label>
                <input type="radio" value="2" id="f_questionOneFAnswer2" name="questionOneFAnswer"
                       <c:if test="${departmentInfo.questionOneFAnswer == '2'}">checked="checked" </c:if> />
                <label for="f_questionOneFAnswer2">否</label>
            </span>
    </td>
</tr>

<script type="text/javascript">
    $("input[name='questionOneFAnswer']").change(function () {
        if ($(this).val() == 1) {
            $("#questionOneFDiv").css("display", "inline");
            $("#questionOneFPrice").attr("class", "validateNeed");
        }
        else {
            $("#questionOneFPrice").removeAttr("class");
            $("#questionOneFDiv").css("display", "none");
        }
    });
</script>

<tr>
    <td>
        <c:if test="${departmentInfo.questionOneFAnswer == '1'}">
            <div id="questionOneFDiv">
                价格：<input type="text" id="questionOneFPrice" class="validateNeed" name="questionOneFPrice"
                          value="${departmentInfo.questionOneFPrice}"/>
            </div>
        </c:if>
        <c:if test="${departmentInfo.questionOneFAnswer == null or departmentInfo.questionOneFAnswer == '2'}">
            <div id="questionOneFDiv" style="display: none">
                价格：<input type="text" id="questionOneFPrice" name="questionOneFPrice" value=""/>
            </div>
        </c:if>
    </td>
</tr>

<script type="text/javascript">
    $("input[name='questionOneFPrice']").validatebox({
        required: true,
        validType: [
            "verifyCharacterType[/^\\d{0,8}(\\.\\d{0,1})?$/, '价格有数字和小数点组成']"

        ],
        invalidMessage: "请输入正确的价格"
    });
</script>

<tr>
    <td>
        <input type="file" id="questionOneFImageUrl1" name="questionOneFImageUrl1"/>
        <input type="button" onclick="ajaxFileUploadThree('questionOneFImageUrl1','#questionOneFImageUrlImage1','#questionOneFImageUrl','#questionOneFImageUrl1Href')"
               value="上传图片"/>
        <a id="questionOneFImageUrl1Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionOneFImageUrl}"/>" target="_blank">
        <img id="questionOneFImageUrlImage1" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionOneFImageUrl}"/>"/>
        </a>
        <input type="hidden" id="questionOneFImageUrl" name="questionOneFImageUrl"
               value="${departmentInfo.questionOneFImageUrl}"/>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionOneFImageUrl2File" name="questionOneFImageUrl2File"/>
        <input type="button" onclick="ajaxFileUploadThree('questionOneFImageUrl2File','#questionOneFImageUrlImage2','#questionOneFImageUrl2','#questionOneFImageUrl2Href')"
               value="上传图片"/>
        <a id="questionOneFImageUrl2Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionOneFImageUrl2}"/>" target="_blank">
        <img id="questionOneFImageUrlImage2" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionOneFImageUrl2}"/>"/>
        </a>
        <input type="hidden" id="questionOneFImageUrl2" name="questionOneFImageUrl2"
               value="${departmentInfo.questionOneFImageUrl2}"/>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionOneFImageUrl3File" name="questionOneFImageUrl3File"/>
        <input type="button" onclick="ajaxFileUploadThree('questionOneFImageUrl3File','#questionOneFImageUrlImage3','#questionOneFImageUrl3','#questionOneFImageUrl3Href')"
               value="上传图片"/>
        <a id="questionOneFImageUrl3Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionOneFImageUrl3}"/>" target="_blank">
        <img id="questionOneFImageUrlImage3" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionOneFImageUrl3}"/>"/>
        </a>
        <input type="hidden" id="questionOneFImageUrl3" name="questionOneFImageUrl3"
               value="${departmentInfo.questionOneFImageUrl3}"/>
    </td>
</tr>

<tr>
    <td>
        <p>
            --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p>
    </td>
</tr>

<tr>
    <td>
        <span style="width:500px;display:inline-block;font-size:14px;">g、马爹利鼎盛700ml非礼盒装</span>
            <span>
                <input type="radio" value="1" id="f_questionOneGAnswer1" name="questionOneGAnswer"
                       <c:if test="${departmentInfo.questionOneGAnswer == '1'}">checked="checked" </c:if> />
                <label for="f_questionOneGAnswer1">是</label>
                <input type="radio" value="2" id="f_questionOneGAnswer2" name="questionOneGAnswer"
                       <c:if test="${departmentInfo.questionOneGAnswer == '2'}">checked="checked" </c:if> />
                <label for="f_questionOneGAnswer2">否</label>
            </span>
    </td>
</tr>

<script type="text/javascript">
    $("input[name='questionOneGAnswer']").change(function () {
        if ($(this).val() == 1) {
            $("#questionOneGDiv").css("display", "inline");
            $("#questionOneGPrice").attr("class", "validateNeed");
        }
        else {
            $("#questionOneGPrice").removeAttr("class");
            $("#questionOneGDiv").css("display", "none");
        }
    });
</script>

<tr>
    <td>
        <c:if test="${departmentInfo.questionOneGAnswer == '1'}">
            <div id="questionOneGDiv">
                价格：<input type="text" id="questionOneGPrice" class="validateNeed" name="questionOneGPrice"
                          value="${departmentInfo.questionOneGPrice}"/>
            </div>
        </c:if>
        <c:if test="${departmentInfo.questionOneGAnswer == null or departmentInfo.questionOneGAnswer == '2'}">
            <div id="questionOneGDiv" style="display: none">
                价格：<input type="text" id="questionOneGPrice" name="questionOneGPrice" value=""/>
            </div>
        </c:if>
    </td>
</tr>
<script type="text/javascript">
    $("input[name='questionOneGPrice']").validatebox({
        required: true,
        validType: [
            "verifyCharacterType[/^\\d{0,8}(\\.\\d{0,1})?$/, '价格有数字和小数点组成']"

        ],
        invalidMessage: "请输入正确的价格"
    });
</script>
<tr>
    <td>
        <input type="file" id="questionOneGImageUrl1" name="questionOneGImageUrl1"/>
        <input type="button" onclick="ajaxFileUploadThree('questionOneGImageUrl1','#questionOneGImageUrlImage1','#questionOneGImageUrl','#questionOneGImageUrl1Href')"
               value="上传图片"/>
        <a id="questionOneGImageUrl1Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionOneGImageUrl}"/>" target="_blank">
        <img id="questionOneGImageUrlImage1" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionOneGImageUrl}"/>"/>
        </a>
        <input type="hidden" id="questionOneGImageUrl" name="questionOneGImageUrl"
               value="${departmentInfo.questionOneGImageUrl}"/>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionOneGImageUrl2File" name="questionOneGImageUrl2File"/>
        <input type="button" onclick="ajaxFileUploadThree('questionOneGImageUrl2File','#questionOneGImageUrlImage2','#questionOneGImageUrl2','#questionOneGImageUrl2Href')"
               value="上传图片"/>
        <a id="questionOneGImageUrl2Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionOneGImageUrl2}"/>" target="_blank">
        <img id="questionOneGImageUrlImage2" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionOneGImageUrl2}"/>"/>
        </a>
        <input type="hidden" id="questionOneGImageUrl2" name="questionOneGImageUrl2"
               value="${departmentInfo.questionOneGImageUrl2}"/>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionOneGImageUrl3File" name="questionOneGImageUrl3File"/>
        <input type="button" onclick="ajaxFileUploadThree('questionOneGImageUrl3File','#questionOneGImageUrlImage3','#questionOneGImageUrl3','#questionOneGImageUrl3Href')"
               value="上传图片"/>
        <a id="questionOneGImageUrl3Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionOneGImageUrl3}"/>" target="_blank">
        <img id="questionOneGImageUrlImage3" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionOneGImageUrl3}"/>"/>
        </a>
        <input type="hidden" id="questionOneGImageUrl3" name="questionOneGImageUrl3"
               value="${departmentInfo.questionOneGImageUrl3}"/>
    </td>
</tr>

<tr>
    <td>
        <p>
            --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p>
    </td>
</tr>

<tr>
    <td>
        <span style="width:500px;display:inline-block;font-size:14px;">h、马爹利XO700ml非礼盒装</span>
            <span>
                <input type="radio" value="1" id="f_questionOneHAnswer1" name="questionOneHAnswer"
                       <c:if test="${departmentInfo.questionOneHAnswer == '1'}">checked="checked" </c:if> />
                <label for="f_questionOneHAnswer1">是</label>
                <input type="radio" value="2" id="f_questionOneHAnswer2" name="questionOneHAnswer"
                       <c:if test="${departmentInfo.questionOneHAnswer == '2'}">checked="checked" </c:if> />
                <label for="f_questionOneHAnswer2">否</label>
            </span>
    </td>
</tr>

<script type="text/javascript">
    $("input[name='questionOneHAnswer']").change(function () {
        if ($(this).val() == 1) {
            $("#questionOneHDiv").css("display", "inline");
            $("#questionOneHPrice").attr("class", "validateNeed");
        }
        else {
            $("#questionOneHPrice").removeAttr("class");
            $("#questionOneHDiv").css("display", "none");
        }
    });
</script>

<tr>
    <td>
        <c:if test="${departmentInfo.questionOneHAnswer == '1'}">
            <div id="questionOneHDiv">
                价格：<input type="text" id="questionOneHPrice" class="validateNeed" name="questionOneHPrice"
                          value="${departmentInfo.questionOneHPrice}"/>
            </div>
        </c:if>
        <c:if test="${departmentInfo.questionOneHAnswer == null or departmentInfo.questionOneHAnswer == '2'}">
            <div id="questionOneHDiv" style="display: none">
                价格：<input type="text" id="questionOneHPrice" name="questionOneHPrice" value=""/>
            </div>
        </c:if>
    </td>
</tr>

<script type="text/javascript">
    $("input[name='questionOneHPrice']").validatebox({
        required: true,
        validType: [
            "verifyCharacterType[/^\\d{0,8}(\\.\\d{0,1})?$/, '价格有数字和小数点组成']"

        ],
        invalidMessage: "请输入正确的价格"
    });
</script>
<tr>
    <td>
        <input type="file" id="questionOneHImageUrl1" name="questionOneHImageUrl1"/>
        <input type="button" onclick="ajaxFileUploadThree('questionOneHImageUrl1','#questionOneHImageUrlImage1','#questionOneHImageUrl','#questionOneHImageUrl1Href')"
               value="上传图片"/>
        <a id="questionOneHImageUrl1Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionOneHImageUrl}"/>" target="_blank">
        <img id="questionOneHImageUrlImage1" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionOneHImageUrl}"/>"/>
        </a>
        <input type="hidden" id="questionOneHImageUrl" name="questionOneHImageUrl"
               value="${departmentInfo.questionOneHImageUrl}"/>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionOneHImageUrl2File" name="questionOneHImageUrl2File"/>
        <input type="button" onclick="ajaxFileUploadThree('questionOneHImageUrl2File','#questionOneHImageUrlImage2','#questionOneHImageUrl2','#questionOneHImageUrl2Href')"
               value="上传图片"/>
        <a id="questionOneHImageUrl2Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionOneHImageUrl2}"/>" target="_blank">
        <img id="questionOneHImageUrlImage2" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionOneHImageUrl2}"/>"/>
        </a>
        <input type="hidden" id="questionOneHImageUrl2" name="questionOneHImageUrl2"
               value="${departmentInfo.questionOneHImageUrl2}"/>

    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionOneHImageUrl3File" name="questionOneHImageUrl3File"/>
        <input type="button" onclick="ajaxFileUploadThree('questionOneHImageUrl3File','#questionOneHImageUrlImage3','#questionOneHImageUrl3','#questionOneHImageUrl3Href')"
               value="上传图片"/>
        <a id="questionOneHImageUrl3Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionOneHImageUrl3}"/>" target="_blank">
        <img id="questionOneHImageUrlImage3" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionOneHImageUrl3}"/>"/>
        </a>
        <input type="hidden" id="questionOneHImageUrl3" name="questionOneHImageUrl3"
               value="${departmentInfo.questionOneHImageUrl3}"/>
    </td>
</tr>

<tr>
    <td>
        <p>
            --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p>
    </td>
</tr>

<tr>
    <td>
        <span style="width:500px;display:inline-block;font-size:16px; font-weight:bold;">Q2&nbsp;&nbsp;店内是否有轩尼诗产品地堆/陈列？</span>
            <span>
                <input type="radio" value="1" id="f_questionTwoAnswer1" name="questionTwoAnswer"
                       <c:if test="${questionTwo.questionTwoAnswer == '1'}">checked="checked" </c:if> />
                <label for="f_questionTwoAnswer1">是</label>
                <input type="radio" value="2" id="f_questionTwoAnswer2" name="questionTwoAnswer"
                       <c:if test="${questionTwo.questionTwoAnswer == '2'}">checked="checked" </c:if> />
                <label for="f_questionTwoAnswer2">否</label>
            </span>
    </td>
</tr>

<script type="text/javascript">
    $("input[name='questionTwoAnswer']").change(function () {
        if ($(this).val() == 1) {
            $("input[name='questionTwoTypeA']").prop("checked", true);
            $("input[name='questionTwoTypeA']").prop("disabled",false);
            $("input[name='questionTwoTypeB']").prop("disabled",false);
            $("input[name='questionTwoTypeC']").prop("disabled",false);
            $("input[name='questionTwoTypeD']").prop("disabled",false);
            $("input[name='questionTwoTypeE']").prop("disabled",false);
            $("input[name='questionTwoTypeG']").prop("disabled",false);

        }
        else {
            $("input[name='questionTwoTypeA']").prop("checked", false);
            $("input[name='questionTwoTypeB']").prop("checked", false);
            $("input[name='questionTwoTypeC']").prop("checked", false);
            $("input[name='questionTwoTypeD']").prop("checked", false);
            $("input[name='questionTwoTypeE']").prop("checked", false);
            $("input[name='questionTwoTypeG']").prop("checked", false);
            $("input[name='questionTwoTypeA']").prop("disabled",true);
            $("input[name='questionTwoTypeB']").prop("disabled",true);
            $("input[name='questionTwoTypeC']").prop("disabled",true);
            $("input[name='questionTwoTypeD']").prop("disabled",true);
            $("input[name='questionTwoTypeE']").prop("disabled",true);
            $("input[name='questionTwoTypeG']").prop("disabled",true);
        }
    });
</script>

<tr>
    <td>
            <span style="width:500px;display:inline-block;font-size:14px;">
            <c:if test="${questionTwo.questionTwoAnswer == '2'}">
                <input name="questionTwoTypeA" type="checkbox" value="a" disabled="disabled" id="questionTwoTypeA"/>a、陈列1
            </c:if>
            <c:if test="${questionTwo.questionTwoAnswer == null or questionTwo.questionTwoAnswer == '1'}">
                <input name="questionTwoTypeA" type="checkbox" value="a" id="questionTwoTypeA"
                       <c:if test="${questionTwo.questionTwoTypeA == 'a'}">checked="checked" </c:if> />a、陈列1
            </c:if>

            </span>
                <span>
                     <c:if test="${questionTwo.questionTwoAnswer == '2'}">
                         数量：<input
                         type="text" name="questionTwoNumA" size="5" value=""/>
                     </c:if>
                   <c:if test="${questionTwo.questionTwoAnswer == null or questionTwo.questionTwoAnswer == '1'}">
                       数量：<input
                       type="text" name="questionTwoNumA" size="5" value="${questionTwo.questionTwoNumA}"/>
                   </c:if>
            </span>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionTwoAImageUrl1" name="questionTwoAImageUrl1"/>
        <input type="button" onclick="ajaxFileUploadThree('questionTwoAImageUrl1','#questionTwoAImageUrlImage1','#questionTwoImageUrlA','#questionTwoImageUrlAHref')"
               value="上传图片"/>
        <a id="questionTwoImageUrlAHref" href="<c:url value="/web/depart/picture.action?remarkUrl=${questionTwo.questionTwoImageUrlA}"/>" target="_blank">
        <img id="questionTwoAImageUrlImage1" height="50px" width="50px"
             src="<c:url value="/${questionTwo.questionTwoImageUrlA}"/>"/>
        </a>
        <input type="hidden" id="questionTwoImageUrlA" name="questionTwoImageUrlA"
               value="${questionTwo.questionTwoImageUrlA}"/>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionTwoAImageUrl2" name="questionTwoAImageUrl2"/>
        <input type="button" onclick="ajaxFileUploadThree('questionTwoAImageUrl2','#questionTwoAImageUrlImage2','#questionTwoImageUrlA2','#questionTwoImageUrlA2Href')"
               value="上传图片"/>
        <a id="questionTwoImageUrlA2Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${questionTwo.questionTwoImageUrlA2}"/>" target="_blank">
        <img id="questionTwoAImageUrlImage2" height="50px" width="50px"
             src="<c:url value="/${questionTwo.questionTwoImageUrlA2}"/>"/>
         </a>
        <input type="hidden" id="questionTwoImageUrlA2" name="questionTwoImageUrlA2"
               value="${questionTwo.questionTwoImageUrlA2}"/>

    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionTwoAImageUrl3" name="questionTwoAImageUrl3"/>
        <input type="button" onclick="ajaxFileUploadThree('questionTwoAImageUrl3','#questionTwoAImageUrlImage3','#questionTwoImageUrlA3','#questionTwoImageUrlA3Href')"
               value="上传图片"/>
        <a id="questionTwoImageUrlA3Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${questionTwo.questionTwoImageUrlA3}"/>" target="_blank">
        <img id="questionTwoAImageUrlImage3" height="50px" width="50px"
             src="<c:url value="/${questionTwo.questionTwoImageUrlA3}"/>"/>
        </a>
        <input type="hidden" id="questionTwoImageUrlA3" name="questionTwoImageUrlA3"
               value="${questionTwo.questionTwoImageUrlA3}"/>

    </td>
</tr>

<tr>
    <td>
        <p>
            --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p>
    </td>
</tr>

<tr>
    <td>
            <span style="width:500px;display:inline-block;font-size:14px;">
                <c:if test="${questionTwo.questionTwoAnswer == '2'}">
                    <input name="questionTwoTypeB" type="checkbox" disabled="disabled"  value="b"
                            />b、陈列2
                </c:if>
                <c:if test="${questionTwo.questionTwoAnswer == null or questionTwo.questionTwoAnswer == '1'}">
                    <input name="questionTwoTypeB" type="checkbox" value="b"
                           <c:if test="${questionTwo.questionTwoTypeB == 'b'}">checked="checked" </c:if>/>b、陈列2
                </c:if>
            </span>
            <span>
                <c:if test="${questionTwo.questionTwoAnswer == '2'}">
                    数量：<input
                    type="text" id="questionTwoNumB" name="questionTwoNumB" size="5"
                    value=""/>
                </c:if>
                <c:if test="${questionTwo.questionTwoAnswer == null or questionTwo.questionTwoAnswer == '1'}">
                    数量：<input
                    type="text" id="questionTwoNumB" name="questionTwoNumB" size="5"
                    value="${questionTwo.questionTwoNumB}"/>
                </c:if>
            </span>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionTwoBImageUrl1" name="questionTwoBImageUrl1"/>
        <input type="button" onclick="ajaxFileUploadThree('questionTwoBImageUrl1','#questionTwoBImageUrlImage1','#questionTwoImageUrlB','#questionTwoImageUrlB1Href')"
               value="上传图片"/>
        <a id="questionTwoImageUrlB1Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${questionTwo.questionTwoImageUrlB}"/>" target="_blank">
        <img id="questionTwoBImageUrlImage1" height="50px" width="50px"
             src="<c:url value="/${questionTwo.questionTwoImageUrlB}"/>"/>
        </a>
        <input type="hidden" id="questionTwoImageUrlB" name="questionTwoImageUrlB"
               value="${questionTwo.questionTwoImageUrlB}"/>

    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionTwoBImageUrl2" name="questionTwoBImageUrl2"/>
        <input type="button" onclick="ajaxFileUploadThree('questionTwoBImageUrl2','#questionTwoBImageUrlImage2','#questionTwoImageUrlB2','#questionTwoImageUrlB2Href')"
               value="上传图片"/>
        <a id="questionTwoImageUrlB2Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${questionTwo.questionTwoImageUrlB2}"/>" target="_blank">
        <img id="questionTwoBImageUrlImage2" height="50px" width="50px"
             src="<c:url value="/${questionTwo.questionTwoImageUrlB2}"/>"/>
        </a>
        <input type="hidden" id="questionTwoImageUrlB2" name="questionTwoImageUrlB2"
               value="${questionTwo.questionTwoImageUrlB2}"/>

    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionTwoBImageUrl3" name="questionTwoBImageUrl3"/>
        <input type="button" onclick="ajaxFileUploadThree('questionTwoBImageUrl3','#questionTwoBImageUrlImage3','#questionTwoImageUrlB3','#questionTwoImageUrlB3Href')"
               value="上传图片"/>
        <a id="questionTwoImageUrlB3Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${questionTwo.questionTwoImageUrlB3}"/>" target="_blank">
        <img id="questionTwoBImageUrlImage3" height="50px" width="50px"
             src="<c:url value="/${questionTwo.questionTwoImageUrlB3}"/>"/>
        </a>
        <input type="hidden" id="questionTwoImageUrlB3" name="questionTwoImageUrlB3"
               value="${questionTwo.questionTwoImageUrlB3}"/>

    </td>
</tr>

<tr>
    <td>
        <p>
            --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p>
    </td>
</tr>

<tr>
    <td>
            <span style="width:500px;display:inline-block;font-size:14px;">
<c:if test="${questionTwo.questionTwoAnswer == '2'}">
    <input name="questionTwoTypeC" type="checkbox" disabled="disabled" value="c"
           />c、陈列3
</c:if>
<c:if test="${questionTwo.questionTwoAnswer == null or questionTwo.questionTwoAnswer == '1'}">
    <input name="questionTwoTypeC" type="checkbox" value="c"
           <c:if test="${questionTwo.questionTwoTypeC == 'c'}">checked="checked" </c:if>/>c、陈列3
</c:if>

            </span>
            <span>
<c:if test="${questionTwo.questionTwoAnswer == '2'}">
    数量：<input
    type="text" id="questionTwoNumC" name="questionTwoNumC" size="5"
    value=""/>
</c:if>
<c:if test="${questionTwo.questionTwoAnswer == null or questionTwo.questionTwoAnswer == '1'}">
    数量：<input
    type="text" id="questionTwoNumC" name="questionTwoNumC" size="5"
    value="${questionTwo.questionTwoNumC}"/>
</c:if>

            </span>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionTwoCImageUrl1" name="questionTwoCImageUrl1"/>
        <input type="button" onclick="ajaxFileUploadThree('questionTwoCImageUrl1','#questionTwoCImageUrlImage1','#questionTwoImageUrlC','#questionTwoImageUrlC1Href')"
               value="上传图片"/>
        <a id="questionTwoImageUrlC1Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${questionTwo.questionTwoImageUrlC}"/>" target="_blank">
        <img id="questionTwoCImageUrlImage1" height="50px" width="50px"
             src="<c:url value="/${questionTwo.questionTwoImageUrlC}"/>"/>
          </a>
        <input type="hidden" id="questionTwoImageUrlC" name="questionTwoImageUrlC"
               value="${questionTwo.questionTwoImageUrlC}"/>

    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionTwoCImageUrl2" name="questionTwoCImageUrl2"/>
        <input type="button" onclick="ajaxFileUploadThree('questionTwoCImageUrl2','#questionTwoCImageUrlImage2','#questionTwoImageUrlC2','#questionTwoImageUrlC2Href')"
               value="上传图片"/>
        <a id="questionTwoImageUrlC2Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${questionTwo.questionTwoImageUrlC2}"/>" target="_blank">
        <img id="questionTwoCImageUrlImage2" height="50px" width="50px"
             src="<c:url value="/${questionTwo.questionTwoImageUrlC2}"/>"/>
        </a>
        <input type="hidden" id="questionTwoImageUrlC2" name="questionTwoImageUrlC2"
               value="${questionTwo.questionTwoImageUrlC2}"/>

    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionTwoCImageUrl3" name="questionTwoCImageUrl3"/>
        <input type="button" onclick="ajaxFileUploadThree('questionTwoCImageUrl3','#questionTwoCImageUrlImage3','#questionTwoImageUrlC3','#questionTwoImageUrlC3Href')"
               value="上传图片"/>
        <a id="questionTwoImageUrlC3Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${questionTwo.questionTwoImageUrlC3}"/>" target="_blank">
        <img id="questionTwoCImageUrlImage3" height="50px" width="50px"
             src="<c:url value="/${questionTwo.questionTwoImageUrlC3}"/>"/>
        </a>
        <input type="hidden" id="questionTwoImageUrlC3" name="questionTwoImageUrlC3"
               value="${questionTwo.questionTwoImageUrlC3}"/>

    </td>
</tr>

<tr>
    <td>
        <p>
            --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p>
    </td>
</tr>

<tr>
    <td>

            <span style="width:500px;display:inline-block;font-size:14px;">
            <c:if test="${questionTwo.questionTwoAnswer == '2'}">
                <input name="questionTwoTypeD" type="checkbox" disabled="disabled" value="d"/>d、陈列4
            </c:if>
             <c:if test="${questionTwo.questionTwoAnswer == null or questionTwo.questionTwoAnswer == '1'}">
                 <input name="questionTwoTypeD" type="checkbox" value="d"
                        <c:if test="${questionTwo.questionTwoTypeD == 'd'}">checked="checked" </c:if>/>d、陈列4
             </c:if>
            </span>
            <span>
            <c:if test="${questionTwo.questionTwoAnswer == '2'}">
                数量：<input
                type="text" id="questionTwoNumD" name="questionTwoNumD" size="5"
                value=""/>
            </c:if>
            <c:if test="${questionTwo.questionTwoAnswer == null or questionTwo.questionTwoAnswer == '1'}">
                数量：<input
                type="text" id="questionTwoNumD" name="questionTwoNumD" size="5"
                value="${questionTwo.questionTwoNumD}"/>
            </c:if>
            </span>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionTwoDImageUrl1" name="questionTwoDImageUrl1"/>
        <input type="button" onclick="ajaxFileUploadThree('questionTwoDImageUrl1','#questionTwoDImageUrlImage1','#questionTwoImageUrlD','#questionTwoImageUrlD1Href')"
               value="上传图片"/>
        <a id="questionTwoImageUrlD1Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${questionTwo.questionTwoImageUrlD}"/>" target="_blank">
        <img id="questionTwoDImageUrlImage1" height="50px" width="50px"
             src="<c:url value="/${questionTwo.questionTwoImageUrlD}"/>"/>
        </a>
        <input type="hidden" id="questionTwoImageUrlD" name="questionTwoImageUrlD"
               value="${questionTwo.questionTwoImageUrlD}"/>

    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionTwoDImageUrl2" name="questionTwoDImageUrl2"/>
        <input type="button" onclick="ajaxFileUploadThree('questionTwoDImageUrl2','#questionTwoDImageUrlImage2','#questionTwoImageUrlD2','#questionTwoImageUrlD2Href')"
               value="上传图片"/>
        <a id="questionTwoImageUrlD2Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${questionTwo.questionTwoImageUrlD2}"/>" target="_blank">
        <img id="questionTwoDImageUrlImage2" height="50px" width="50px"
             src="<c:url value="/${questionTwo.questionTwoImageUrlD2}"/>"/>
        </a>
        <input type="hidden" id="questionTwoImageUrlD2" name="questionTwoImageUrlD2"
               value="${questionTwo.questionTwoImageUrlD2}"/>

    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionTwoDImageUrl3" name="questionTwoDImageUrl3"/>
        <input type="button" onclick="ajaxFileUploadThree('questionTwoDImageUrl3','#questionTwoDImageUrlImage3','#questionTwoImageUrlD3','#questionTwoImageUrlD3Href')"
               value="上传图片"/>
        <a id="questionTwoImageUrlD3Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${questionTwo.questionTwoImageUrlD3}"/>" target="_blank">
        <img id="questionTwoDImageUrlImage3" height="50px" width="50px"
             src="<c:url value="/${questionTwo.questionTwoImageUrlD3}"/>"/>
        </a>
        <input type="hidden" id="questionTwoImageUrlD3" name="questionTwoImageUrlD3"
               value="${questionTwo.questionTwoImageUrlD3}"/>

    </td>
</tr>

<tr>
    <td>
        <p>
            --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p>
    </td>
</tr>

<tr>
    <td>
            <span style="width:500px;display:inline-block;font-size:14px;">
                <c:if test="${questionTwo.questionTwoAnswer == '2'}">
                    <input name="questionTwoTypeE" type="checkbox" disabled="disabled" value="e"
                            />e、陈列5
                </c:if>
            <c:if test="${questionTwo.questionTwoAnswer == null or questionTwo.questionTwoAnswer == '1'}">
                <input name="questionTwoTypeE" type="checkbox" value="e"
                       <c:if test="${questionTwo.questionTwoTypeE == 'e'}">checked="checked" </c:if>/>e、陈列5
            </c:if>

            </span>
            <span>
                <c:if test="${questionTwo.questionTwoAnswer == '2'}">
                    数量：<input
                    type="text" id="questionTwoNumE" name="questionTwoNumE" size="5"
                    /><br>
                </c:if>
<c:if test="${questionTwo.questionTwoAnswer == null or questionTwo.questionTwoAnswer == '1'}">
    数量：<input
    type="text" id="questionTwoNumE" name="questionTwoNumE" size="5"
    value="${questionTwo.questionTwoNumE}"/><br>
</c:if>

            </span>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionTwoEImageUrl1" name="questionTwoEImageUrl1"/>
        <input type="button" onclick="ajaxFileUploadThree('questionTwoEImageUrl1','#questionTwoEImageUrlImage1','#questionTwoImageUrlE','#questionTwoImageUrlE1Href')"
               value="上传图片"/>
        <a id="questionTwoImageUrlE1Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${questionTwo.questionTwoImageUrlE}"/>" target="_blank">
        <img id="questionTwoEImageUrlImage1" height="50px" width="50px"
             src="<c:url value="/${questionTwo.questionTwoImageUrlE}"/>"/>
        </a>
        <input type="hidden" id="questionTwoImageUrlE" name="questionTwoImageUrlE"
               value="${questionTwo.questionTwoImageUrlE}"/>

    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionTwoEImageUrl2" name="questionTwoEImageUrl2"/>
        <input type="button" onclick="ajaxFileUploadThree('questionTwoEImageUrl2','#questionTwoEImageUrlImage2','#questionTwoImageUrlE2','#questionTwoImageUrlE2Href')"
               value="上传图片"/>
        <a id="questionTwoImageUrlE2Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${questionTwo.questionTwoImageUrlE2}"/>" target="_blank">
        <img id="questionTwoEImageUrlImage2" height="50px" width="50px"
             src="<c:url value="/${questionTwo.questionTwoImageUrlE2}"/>"/>
        </a>
        <input type="hidden" id="questionTwoImageUrlE2" name="questionTwoImageUrlE2"
               value="${questionTwo.questionTwoImageUrlE2}"/>

    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionTwoEImageUrl3" name="questionTwoEImageUrl3"/>
        <input type="button" onclick="ajaxFileUploadThree('questionTwoEImageUrl3','#questionTwoEImageUrlImage3','#questionTwoImageUrlE3','#questionTwoImageUrlE3Href')"
               value="上传图片"/>
        <a id="questionTwoImageUrlE3Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${questionTwo.questionTwoImageUrlE3}"/>" target="_blank">
        <img id="questionTwoEImageUrlImage3" height="50px" width="50px"
             src="<c:url value="/${questionTwo.questionTwoImageUrlE3}"/>"/>
        </a>
        <input type="hidden" id="questionTwoImageUrlE3" name="questionTwoImageUrlE3"
               value="${questionTwo.questionTwoImageUrlE3}"/>

    </td>
</tr>

<tr>
    <td>
        <p>
            --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p>
    </td>
</tr>

<tr>
    <td>
            <span style="width:500px;display:inline-block;font-size:14px;">
<c:if test="${questionTwo.questionTwoAnswer == '2'}">
    <input name="questionTwoTypeG" type="checkbox" disabled="disabled"  value="g"
            />g、其他地堆/陈列
</c:if>
<c:if test="${questionTwo.questionTwoAnswer == null or questionTwo.questionTwoAnswer == '1'}">
    <input name="questionTwoTypeG" type="checkbox" value="g"
           <c:if test="${questionTwo.questionTwoTypeG == 'g'}">checked="checked" </c:if>/>g、其他地堆/陈列
</c:if>

            </span>
            <span>
            <c:if test="${questionTwo.questionTwoAnswer == '2'}">
    数量：<input
    type="text" id="questionTwoNumG" name="questionTwoNumG" size="5"
    value=""/><br>
</c:if>
<c:if test="${questionTwo.questionTwoAnswer == null or questionTwo.questionTwoAnswer == '1'}">
    数量：<input
    type="text" id="questionTwoNumG" name="questionTwoNumG" size="5"
    value="${questionTwo.questionTwoNumG}"/><br>
</c:if>
            </span>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionTwoGImageUrl1" name="questionTwoGImageUrl1"/>
        <input type="button" onclick="ajaxFileUploadThree('questionTwoGImageUrl1','#questionTwoGImageUrlImage1','#questionTwoImageUrlG','#questionTwoImageUrlG1Href')"
               value="上传图片"/>
        <a id="questionTwoImageUrlG1Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${questionTwo.questionTwoImageUrlG}"/>" target="_blank">
        <img id="questionTwoGImageUrlImage1" height="50px" width="50px"
             src="<c:url value="/${questionTwo.questionTwoImageUrlG}"/>"/>
        </a>
        <input type="hidden" id="questionTwoImageUrlG" name="questionTwoImageUrlG"
               value="${questionTwo.questionTwoImageUrlG}"/>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionTwoGImageUrl2" name="questionTwoGImageUrl2"/>
        <input type="button" onclick="ajaxFileUploadThree('questionTwoGImageUrl2','#questionTwoGImageUrlImage2','#questionTwoImageUrlG2','#questionTwoImageUrlG2Href')"
               value="上传图片"/>
        <a id="questionTwoImageUrlG2Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${questionTwo.questionTwoImageUrlG2}"/>" target="_blank">
        <img id="questionTwoGImageUrlImage2" height="50px" width="50px"
             src="<c:url value="/${questionTwo.questionTwoImageUrlG2}"/>"/>
        </a>
        <input type="hidden" id="questionTwoImageUrlG2" name="questionTwoImageUrlG2"
               value="${questionTwo.questionTwoImageUrlG2}"/>

    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionTwoGImageUrl3" name="questionTwoGImageUrl3"/>
        <input type="button" onclick="ajaxFileUploadThree('questionTwoGImageUrl3','#questionTwoGImageUrlImage3','#questionTwoImageUrlG3','#questionTwoImageUrlG3Href')"
               value="上传图片"/>
        <a id="questionTwoImageUrlG3Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${questionTwo.questionTwoImageUrlG3}"/>" target="_blank">
        <img id="questionTwoGImageUrlImage3" height="50px" width="50px"
             src="<c:url value="/${questionTwo.questionTwoImageUrlG3}"/>"/>
        </a>
        <input type="hidden" id="questionTwoImageUrlG3" name="questionTwoImageUrlG3"
               value="${questionTwo.questionTwoImageUrlG3}"/>

    </td>
</tr>

<tr>
    <td>
        <p>
            --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p>
    </td>
</tr>

<tr>
    <td>
        <span style="width:500px;display:inline-block;font-size:16px; font-weight:bold;">Q3&nbsp;&nbsp;门店内是否有轩尼诗柜台卡？</span>
            <span>
                <input type="radio" value="1" id="f_questionThreeAnswer1" name="questionThreeAnswer"
                       <c:if test="${departmentInfo.questionThreeAnswer == '1'}">checked="checked" </c:if> />
                <label for="f_questionThreeAnswer1">是</label>
                <input type="radio" value="2" id="f_questionThreeAnswer2" name="questionThreeAnswer"
                       <c:if test="${departmentInfo.questionThreeAnswer == '2'}">checked="checked" </c:if> />
                <label for="f_questionThreeAnswer2">否</label>
            </span>
    </td>
</tr>


<tr>
    <td>
        <input type="file" id="questionThreeImageUrl1" name="questionThreeImageUrl1"/>
        <input type="button" onclick="ajaxFileUploadThree('questionThreeImageUrl1','#questionThreeImageUrlImage1','#questionThreeImageUrl','#questionThreeImageUrl1Href')"
               value="上传图片"/>
        <a id="questionThreeImageUrl1Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionThreeImageUrl}"/>" target="_blank">
        <img id="questionThreeImageUrlImage1" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionThreeImageUrl}"/>"/>
        </a>
        <input type="hidden" id="questionThreeImageUrl" name="questionThreeImageUrl"
               value="${departmentInfo.questionThreeImageUrl}"/>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionThreeImageUrl2File" name="questionThreeImageUrl2File"/>
        <input type="button" onclick="ajaxFileUploadThree('questionThreeImageUrl2File','#questionThreeImageUrlImage2','#questionThreeImageUrl2','#questionThreeImageUrl2Href')"
               value="上传图片"/>
        <a id="questionThreeImageUrl2Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionThreeImageUrl2}"/>" target="_blank">
        <img id="questionThreeImageUrlImage2" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionThreeImageUrl2}"/>"/>
        </a>
        <input type="hidden" id="questionThreeImageUrl2" name="questionThreeImageUrl2"
               value="${departmentInfo.questionThreeImageUrl2}"/>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionThreeImageUrl3File" name="questionThreeImageUrl3File"/>
        <input type="button" onclick="ajaxFileUploadThree('questionThreeImageUrl3File','#questionThreeImageUrlImage3','#questionThreeImageUrl3','#questionThreeImageUrl3Href')"
               value="上传图片"/>
        <a id="questionThreeImageUrl3Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionThreeImageUrl3}"/>" target="_blank">
        <img id="questionThreeImageUrlImage3" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionThreeImageUrl3}"/>"/>
        </a>
        <input type="hidden" id="questionThreeImageUrl3" name="questionThreeImageUrl3"
               value="${departmentInfo.questionThreeImageUrl3}"/>
    </td>
</tr>

<tr>
    <td>
        <p>--------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p>
    </td>
</tr>


<tr>
    <td>
            <span style="width:500px;display:inline-block;font-size:16px; font-weight:bold;">Q4&nbsp;&nbsp;门店内是否有轩尼诗VSOP试饮活动？（每套包含2瓶70cl真酒，2瓶5cl真酒，
            闻香试纸，闻香喷嘴）</span>
            <span>
                <input type="radio" value="1" id="f_questionFourAnswer1" name="questionFourAnswer"
                       <c:if test="${departmentInfo.questionFourAnswer == '1'}">checked="checked" </c:if> />
                <label for="f_questionFourAnswer1">是</label>
                <input type="radio" value="2" id="f_questionFourAnswer2" name="questionFourAnswer"
                       <c:if test="${departmentInfo.questionFourAnswer == '2'}">checked="checked" </c:if> />
                <label for="f_questionFourAnswer2">否</label>
            </span>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionFourImageUrl1" name="questionFourImageUrl1"/>
        <input type="button" onclick="ajaxFileUploadThree('questionFourImageUrl1','#questionFourImageUrlImage1','#questionFourImageUrl','#questionFourImageUrl1Href')"
               value="上传图片"/>
        <a id="questionFourImageUrl1Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionFourImageUrl}"/>" target="_blank">
        <img id="questionFourImageUrlImage1" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionFourImageUrl}"/>"/>
        </a>
        <input type="hidden" id="questionFourImageUrl" name="questionFourImageUrl"
               value="${departmentInfo.questionFourImageUrl}"/>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionFourImageUrl2File" name="questionFourImageUrl2File"/>
        <input type="button" onclick="ajaxFileUploadThree('questionFourImageUrl2File','#questionFourImageUrlImage2','#questionFourImageUrl2','#questionFourImageUrl2Href')"
               value="上传图片"/>
        <a id="questionFourImageUrl2Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionFourImageUrl2}"/>" target="_blank">
        <img id="questionFourImageUrlImage2" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionFourImageUrl2}"/>"/>
        </a>
        <input type="hidden" id="questionFourImageUrl2" name="questionFourImageUrl2"
               value="${departmentInfo.questionFourImageUrl2}"/>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionFourImageUrl3File" name="questionFourImageUrl3File"/>
        <input type="button" onclick="ajaxFileUploadThree('questionFourImageUrl3File','#questionFourImageUrlImage3','#questionFourImageUrl3','#questionFourImageUrl3Href')"
               value="上传图片"/>
        <a id="questionFourImageUrl3Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionFourImageUrl3}"/>" target="_blank">
        <img id="questionFourImageUrlImage3" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionFourImageUrl3}"/>"/>
        </a>
        <input type="hidden" id="questionFourImageUrl3" name="questionFourImageUrl3"
               value="${departmentInfo.questionFourImageUrl3}"/>
    </td>
</tr>

<tr>
    <td>
        <p>
            --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p>
    </td>
</tr>

    <tr>
        <td>
            <span style="width:500px;display:inline-block;font-size:16px; font-weight:bold;">Q4.1&nbsp;&nbsp;门店内轩尼诗VSOP试饮活动是否有以下物品？</span>
        </td>
    </tr>

    <tr>
        <td>
            <input type="file" id="questionFourOnePicture1" name="questionFourOnePicture1"/>
            <input type="button" onclick="ajaxFileUploadThree('questionFourOnePicture1','#questionFourOnePictureImage1','#questionFourOnePicture','#questionFourOnePicture1Href')"
                   value="上传图片"/>
            <a id="questionFourOnePicture1Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${questionTwo.questionFourOnePicture}"/>" target="_blank">
                <img id="questionFourOnePictureImage1" height="50px" width="50px"
                     src="<c:url value="/${questionTwo.questionFourOnePicture}"/>"/>
            </a>
            <input type="hidden" id="questionFourOnePicture" name="questionFourOnePicture"
                   value="${questionTwo.questionFourOnePicture}"/>
        </td>
    </tr>

    <tr>
        <td>
            <input type="file" id="questionFourOneImage2" name="questionFourOneImage2"/>
            <input type="button" onclick="ajaxFileUploadThree('questionFourOneImage2','#questionFourOnePictureImage2','#questionFourOnePicture2','#questionFourOnePicture2Href')"
                   value="上传图片"/>
            <a id="questionFourOnePicture2Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${questionTwo.questionFourOnePicture2}"/>" target="_blank">
                <img id="questionFourOnePictureImage2" height="50px" width="50px"
                     src="<c:url value="/${questionTwo.questionFourOnePicture2}"/>"/>
            </a>
            <input type="hidden" id="questionFourOnePicture2" name="questionFourOnePicture2"
                   value="${questionTwo.questionFourOnePicture2}"/>
        </td>
    </tr>

    <tr>
        <td>
            <input type="file" id="questionFourOneImage3" name="questionFourOneImage3"/>
            <input type="button" onclick="ajaxFileUploadThree('questionFourOneImage3','#questionFourOnePictureImage3','#questionFourOnePicture3','#questionFourOnePicture3Href')"
                   value="上传图片"/>
            <a id="questionFourOnePicture3Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${questionTwo.questionFourOnePicture3}"/>" target="_blank">
                <img id="questionFourOnePictureImage3" height="50px" width="50px"
                     src="<c:url value="/${questionTwo.questionFourOnePicture3}"/>"/>
            </a>
            <input type="hidden" id="questionFourOnePicture3" name="questionFourOnePicture3"
                   value="${questionTwo.questionFourOnePicture3}"/>
        </td>
    </tr>

    <tr>
        <td>
            <input type="file" id="questionFourOneImage4" name="questionFourOneImage4"/>
            <input type="button" onclick="ajaxFileUploadThree('questionFourOneImage4','#questionFourOnePictureImage4','#questionFourOnePicture4','#questionFourOnePicture4Href')"
                   value="上传图片"/>
            <a id="questionFourOnePicture4Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${questionTwo.questionFourOnePicture4}"/>" target="_blank">
                <img id="questionFourOnePictureImage4" height="50px" width="50px"
                     src="<c:url value="/${questionTwo.questionFourOnePicture4}"/>"/>
            </a>
            <input type="hidden" id="questionFourOnePicture4" name="questionFourOnePicture4"
                   value="${questionTwo.questionFourOnePicture4}"/>
        </td>
    </tr>

    <script type="text/javascript">
        $("input[name='questionFourAnswer']").change(function () {
            if ($(this).val() == 1) {
                $("input[name='questionFourOneAnswerA']").prop("disabled", false);
                $("input[name='questionFourOneAnswerB']").prop("disabled", false);
                $("input[name='questionFourOneAnswerC']").prop("disabled", false);
                $("input[name='questionFourOneAnswerD']").prop("disabled", false);
                $('#f_questionFourOneAnswerA2').prop("checked",false);
                $('#f_questionFourOneAnswerB2').prop("checked",false);
                $('#f_questionFourOneAnswerC2').prop("checked",false);
                $('#f_questionFourOneAnswerD2').prop("checked",false);
            }
            else {
                $('#f_questionFourOneAnswerA2').prop("checked",true);
                $('#f_questionFourOneAnswerB2').prop("checked",true);
                $('#f_questionFourOneAnswerC2').prop("checked",true);
                $('#f_questionFourOneAnswerD2').prop("checked",true);
                $("input[name='questionFourOneAnswerA']").prop("disabled", true);
                $("input[name='questionFourOneAnswerB']").prop("disabled", true);
                $("input[name='questionFourOneAnswerC']").prop("disabled", true);
                $("input[name='questionFourOneAnswerD']").prop("disabled", true);
            }
        });
    </script>

    <tr>
        <td>
            <p>
                --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p>
        </td>
    </tr>

    <tr>
        <td>
            <span style="width:500px;display:inline-block;font-size:14px;">a. 70cl真酒</span>
            <span>
                <c:if test="${departmentInfo.questionFourAnswer == null or departmentInfo.questionFourAnswer == '1'}">
                    <input type="radio" value="1" id="f_questionFourOneAnswerA1" name="questionFourOneAnswerA"  <c:if test="${ questionTwo.questionFourOneAnswerA == '1'}">checked="checked" </c:if>/>
                    <label for="f_questionFourOneAnswerA1">是</label>
                    <input type="radio" value="2" id="f_questionFourOneAnswerA2" name="questionFourOneAnswerA"  <c:if test="${questionTwo.questionFourOneAnswerA == '2'}">checked="checked" </c:if> />
                    <label for="f_questionFourOneAnswerA2">否</label>
                </c:if>

                <c:if test="${departmentInfo.questionFourAnswer == '2'}">
                    <input type="radio" value="1" id="f_questionFourOneAnswerA1" name="questionFourOneAnswerA" disabled  <c:if test="${questionTwo.questionFourOneAnswerA == '1'}">checked="checked" </c:if>/>
                    <label for="f_questionFourOneAnswerA1">是</label>
                    <input type="radio" value="2" id="f_questionFourOneAnswerA2" name="questionFourOneAnswerA" disabled  <c:if test="${questionTwo.questionFourOneAnswerA == '2'}">checked="checked" </c:if> />
                    <label for="f_questionFourOneAnswerA2">否</label>
                </c:if>


            </span>
        </td>
    </tr>

    <tr>
        <td>
            数量：<input type="text" id="questionFourOneAnswerANum" name="questionFourOneAnswerANum" value="${questionTwo.questionFourOneAnswerANum}"/>
        </td>
    </tr>


    <tr>
        <td>
            <p>
                --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p>
        </td>
    </tr>


    <tr>
        <td>
            <span style="width:500px;display:inline-block;font-size:14px;">b. 5cl真酒</span>
            <span>
                <c:if test="${departmentInfo.questionFourAnswer == null or departmentInfo.questionFourAnswer == '1'}">
                    <input type="radio" value="1" id="f_questionFourOneAnswerB1" name="questionFourOneAnswerB" <c:if test="${questionTwo.questionFourOneAnswerB == '1'}">checked="checked" </c:if>/>
                    <label for="f_questionFourOneAnswerB1">是</label>
                    <input type="radio" value="2" id="f_questionFourOneAnswerB2" name="questionFourOneAnswerB" <c:if test="${questionTwo.questionFourOneAnswerB == '2'}">checked="checked" </c:if>/>
                    <label for="f_questionFourOneAnswerB2">否</label>
                </c:if>
                <c:if test="${ departmentInfo.questionFourAnswer == '2'}">
                    <input type="radio" value="1" id="f_questionFourOneAnswerB1" name="questionFourOneAnswerB" disabled <c:if test="${questionTwo.questionFourOneAnswerB == '1'}">checked="checked" </c:if>/>
                    <label for="f_questionFourOneAnswerB1">是</label>
                    <input type="radio" value="2" id="f_questionFourOneAnswerB2" name="questionFourOneAnswerB" disabled <c:if test="${questionTwo.questionFourOneAnswerB == '2'}">checked="checked" </c:if>/>
                    <label for="f_questionFourOneAnswerB2">否</label>
                </c:if>
            </span>
        </td>
    </tr>

    <tr>
        <td>
            数量：<input type="text" id="questionFourOneAnswerBNum" name="questionFourOneAnswerBNum" value="${questionTwo.questionFourOneAnswerBNum}"/>
        </td>
    </tr>

    <tr>
        <td>
            <p>
                --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p>
        </td>
    </tr>


    <tr>
        <td>
            <span style="width:500px;display:inline-block;font-size:14px;">c. 闻香试纸</span>
            <span>
                <c:if test="${departmentInfo.questionFourAnswer == null or departmentInfo.questionFourAnswer == '1'}">
                    <input type="radio" value="1" id="f_questionFourOneAnswerC1" name="questionFourOneAnswerC" <c:if test="${questionTwo.questionFourOneAnswerC == '1'}">checked="checked" </c:if>/>
                    <label for="f_questionFourOneAnswerC1">是</label>
                    <input type="radio" value="2" id="f_questionFourOneAnswerC2" name="questionFourOneAnswerC" <c:if test="${questionTwo.questionFourOneAnswerC == '2'}">checked="checked" </c:if>/>
                    <label for="f_questionFourOneAnswerC2">否</label>
                </c:if>
                <c:if test="${departmentInfo.questionFourAnswer == '2'}">
                    <input type="radio" value="1" id="f_questionFourOneAnswerC1" name="questionFourOneAnswerC" disabled <c:if test="${questionTwo.questionFourOneAnswerC == '1'}">checked="checked" </c:if>/>
                    <label for="f_questionFourOneAnswerC1">是</label>
                    <input type="radio" value="2" id="f_questionFourOneAnswerC2" name="questionFourOneAnswerC" disabled <c:if test="${questionTwo.questionFourOneAnswerC == '2'}">checked="checked" </c:if>/>
                    <label for="f_questionFourOneAnswerC2">否</label>
                </c:if>

            </span>
        </td>
    </tr>

    <tr>
        <td>
            <p>
                --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p>
        </td>
    </tr>


    <tr>
        <td>
            <span style="width:500px;display:inline-block;font-size:14px;">d. 闻香喷嘴</span>
            <span>
                <c:if test="${departmentInfo.questionFourAnswer == null or departmentInfo.questionFourAnswer == '1'}">
                    <input type="radio" value="1" id="f_questionFourOneAnswerD1" name="questionFourOneAnswerD" <c:if test="${questionTwo.questionFourOneAnswerD == '1'}">checked="checked" </c:if>/>
                    <label for="f_questionFourOneAnswerD1">是</label>
                    <input type="radio" value="2" id="f_questionFourOneAnswerD2" name="questionFourOneAnswerD" <c:if test="${questionTwo.questionFourOneAnswerD == '2'}">checked="checked" </c:if>/>
                    <label for="f_questionFourOneAnswerD2">否</label>
                </c:if>
                <c:if test="${departmentInfo.questionFourAnswer == '2'}">
                    <input type="radio" value="1" id="f_questionFourOneAnswerD1" name="questionFourOneAnswerD" disabled <c:if test="${questionTwo.questionFourOneAnswerD == '1'}">checked="checked" </c:if>/>
                    <label for="f_questionFourOneAnswerD1">是</label>
                    <input type="radio" value="2" id="f_questionFourOneAnswerD2" name="questionFourOneAnswerD" disabled <c:if test="${questionTwo.questionFourOneAnswerD == '2'}">checked="checked" </c:if>/>
                    <label for="f_questionFourOneAnswerD2">否</label>
                </c:if>

            </span>
        </td>
    </tr>

    <tr>
        <td>
            <p>
                --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p>
        </td>
    </tr>

<tr>
    <td>
        <span style="width:500px;display:inline-block;font-size:16px; font-weight:bold;">Q5&nbsp;&nbsp;店内是否有以下宣传资料？(需要主动询问)</span>
            <span>
                <input type="radio" value="1" id="f_questionFiveAnswer1" name="questionFiveAnswer"
                       <c:if test="${departmentInfo.questionFiveAnswer == '1'}">checked="checked" </c:if> />
                <label for="f_questionFiveAnswer1">是</label>
                <input type="radio" value="2" id="f_questionFiveAnswer2" name="questionFiveAnswer"
                       <c:if test="${departmentInfo.questionFiveAnswer == '2'}">checked="checked" </c:if> />
                <label for="f_questionFiveAnswer2">否</label>
            </span>
    </td>
</tr>

<script type="text/javascript">
    $("input[name='questionFiveAnswer']").change(function () {
        if ($(this).val() == 1) {
            $("input[name='questionFiveAnswerA']").prop("disabled", false);
            $("input[name='questionFiveAnswerB']").prop("disabled", false);
            $("input[name='questionFiveAnswerC']").prop("disabled", false);
        }
        else {
            $("input[name='questionFiveAnswerA']").prop("checked", false);
            $("input[name='questionFiveAnswerB']").prop("checked", false);
            $("input[name='questionFiveAnswerC']").prop("checked", false);
            $("#f_questionFiveAnswerA1").prop("disabled", true);
            $("#f_questionFiveAnswerA2").prop("disabled", true);
            $("#f_questionFiveAnswerB1").prop("disabled", true);
            $("#f_questionFiveAnswerB2").prop("disabled", true);
            $("#f_questionFiveAnswerC1").prop("disabled", true);
            $("#f_questionFiveAnswerC2").prop("disabled", true);
        }
    });
</script>

<tr>
    <td>
        <span style="width:500px;display:inline-block;font-size:14px;">a. 门店内是否有轩尼诗产品礼盒介绍单页？</span>
            <span>
<c:if test="${departmentInfo.questionFiveAnswer == null or departmentInfo.questionFiveAnswer == '1'}">
    <input type="radio" value="1" id="f_questionFiveAnswerA1" name="questionFiveAnswerA"
           <c:if test="${departmentInfo.questionFiveAnswerA == '1'}">checked="checked" </c:if> />
    <label for="f_questionFiveAnswerA1">是</label>
    <input type="radio" value="2" id="f_questionFiveAnswerA2" name="questionFiveAnswerA"
           <c:if test="${departmentInfo.questionFiveAnswerA == '2'}">checked="checked" </c:if> />
    <label for="f_questionFiveAnswerA2">否</label>
</c:if>
<c:if test="${departmentInfo.questionFiveAnswer == '2'}">
    <input type="radio" value="1" id="f_questionFiveAnswerA1" name="questionFiveAnswerA" disabled
            />
    <label for="f_questionFiveAnswerA1">是</label>
    <input type="radio" value="2" id="f_questionFiveAnswerA2" name="questionFiveAnswerA" disabled />
    <label for="f_questionFiveAnswerA2">否</label>
</c:if>


            </span>
    </td>
</tr>
<tr>
    <td>
        <input type="file" id="questionFiveAImageUrl1" name="questionFiveAImageUrl1"/>
        <input type="button" onclick="ajaxFileUploadThree('questionFiveAImageUrl1','#questionFiveAImageUrlImage1','#questionFiveImageUrlA','#questionFiveImageUrlA1Href')"
               value="上传图片"/>
        <a id="questionFiveImageUrlA1Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionFiveImageUrlA}"/>" target="_blank">
        <img id="questionFiveAImageUrlImage1" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionFiveImageUrlA}"/>"/>
        </a>
        <input type="hidden" id="questionFiveImageUrlA" name="questionFiveImageUrlA"
               value="${departmentInfo.questionFiveImageUrlA}"/>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionFiveAImageUrl2" name="questionFiveAImageUrl2"/>
        <input type="button" onclick="ajaxFileUploadThree('questionFiveAImageUrl2','#questionFiveAImageUrlImage2','#questionFiveImageUrlA2','#questionFiveImageUrlA2Href')"
               value="上传图片"/>
        <a id="questionFiveImageUrlA2Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionFiveImageUrlA2}"/>" target="_blank">
        <img id="questionFiveAImageUrlImage2" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionFiveImageUrlA2}"/>"/>
        </a>
        <input type="hidden" id="questionFiveImageUrlA2" name="questionFiveImageUrlA2"
               value="${departmentInfo.questionFiveImageUrlA2}"/>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionFiveAImageUrl3" name="questionFiveAImageUrl3"/>
        <input type="button" onclick="ajaxFileUploadThree('questionFiveAImageUrl3','#questionFiveAImageUrlImage3','#questionFiveImageUrlA3','#questionFiveImageUrlA3Href')"
               value="上传图片"/>
        <a id="questionFiveImageUrlA3Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionFiveImageUrlA3}"/>" target="_blank">
        <img id="questionFiveAImageUrlImage3" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionFiveImageUrlA3}"/>"/>
        </a>
        <input type="hidden" id="questionFiveImageUrlA3" name="questionFiveImageUrlA3"
               value="${departmentInfo.questionFiveImageUrlA3}"/>
    </td>
</tr>

<tr>
    <td>
        <p>
            --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p>
    </td>
</tr>


<tr>
    <td>
        <span style="width:500px;display:inline-block;font-size:14px;">b. 是否有用平板电脑介绍轩尼诗产品信息？</span>
            <span>
                <c:if test="${departmentInfo.questionFiveAnswer == null or departmentInfo.questionFiveAnswer == '1'}">
                    <input type="radio" value="1" id="f_questionFiveAnswerB1" name="questionFiveAnswerB"
                           <c:if test="${departmentInfo.questionFiveAnswerB == '1'}">checked="checked" </c:if> />
                    <label for="f_questionFiveAnswerB1">是</label>
                    <input type="radio" value="2" id="f_questionFiveAnswerB2" name="questionFiveAnswerB"
                           <c:if test="${departmentInfo.questionFiveAnswerB == '2'}">checked="checked" </c:if> />
                    <label for="f_questionFiveAnswerB2">否</label>
                </c:if>
<c:if test="${departmentInfo.questionFiveAnswer == '2'}">
    <input type="radio" value="1" id="f_questionFiveAnswerB1" name="questionFiveAnswerB" disabled/>
    <label for="f_questionFiveAnswerB1">是</label>
    <input type="radio" value="2" id="f_questionFiveAnswerB2" name="questionFiveAnswerB" disabled />
    <label for="f_questionFiveAnswerB2">否</label>
</c:if>

            </span>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionFiveBImageUrl1" name="questionFiveBImageUrl1"/>
        <input type="button" onclick="ajaxFileUploadThree('questionFiveBImageUrl1','#questionFiveBImageUrlImage1','#questionFiveImageUrlB','#questionFiveImageUrlB1Href')"
               value="上传图片"/>
        <a id="questionFiveImageUrlB1Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionFiveImageUrlB}"/>" target="_blank">
        <img id="questionFiveBImageUrlImage1" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionFiveImageUrlB}"/>"/>
        </a>
        <input type="hidden" id="questionFiveImageUrlB" name="questionFiveImageUrlB"
               value="${departmentInfo.questionFiveImageUrlB}"/>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionFiveBImageUrl2" name="questionFiveBImageUrl2"/>
        <input type="button" onclick="ajaxFileUploadThree('questionFiveBImageUrl2','#questionFiveBImageUrlImage2','#questionFiveImageUrlB2','#questionFiveImageUrlB2Href')"
               value="上传图片"/>
        <a id="questionFiveImageUrlB2Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionFiveImageUrlB2}"/>" target="_blank">
        <img id="questionFiveBImageUrlImage2" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionFiveImageUrlB2}"/>"/>
        </a>
        <input type="hidden" id="questionFiveImageUrlB2" name="questionFiveImageUrlB2"
               value="${departmentInfo.questionFiveImageUrlB2}"/>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionFiveBImageUrl3" name="questionFiveBImageUrl3"/>
        <input type="button" onclick="ajaxFileUploadThree('questionFiveBImageUrl3','#questionFiveBImageUrlImage3','#questionFiveImageUrlB3','#questionFiveImageUrlB3Href')"
               value="上传图片"/>
        <a id="questionFiveImageUrlB3Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionFiveImageUrlB3}"/>" target="_blank">
        <img id="questionFiveBImageUrlImage3" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionFiveImageUrlB3}"/>"/>
        </a>
        <input type="hidden" id="questionFiveImageUrlB3" name="questionFiveImageUrlB3"
               value="${departmentInfo.questionFiveImageUrlB3}"/>
    </td>
</tr>

<tr>
    <td>
        <p>
            --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p>
    </td>
</tr>

<tr>
    <td>
            <span style="width:500px;display:inline-block;font-size:14px;">c. 门店点是否有轩尼诗促销活动信息？
                 促销支持，五档如下：
            沃尔玛 、山姆店 - 山姆购物卡（70元，200元，1,000元）；<br>
            麦德龙店 - 麦德龙购物卡 (100元，1,000元）， 70元级别用Casa的酒替换；<br>
            其他KA - 京东积点券兑换（70元, 200元, 1,000元, 2,600元, 6,600元, 3,000元, 7,800元)
            </span>
            <span>
<c:if test="${departmentInfo.questionFiveAnswer == null or departmentInfo.questionFiveAnswer == '1'}">
    <input type="radio" value="1" id="f_questionFiveAnswerC1" name="questionFiveAnswerC"
           <c:if test="${departmentInfo.questionFiveAnswerC == '1'}">checked="checked" </c:if> />
    <label for="f_questionFiveAnswerC1">是</label>
    <input type="radio" value="2" id="f_questionFiveAnswerC2" name="questionFiveAnswerC"
           <c:if test="${departmentInfo.questionFiveAnswerC == '2'}">checked="checked" </c:if> />
    <label for="f_questionFiveAnswerC2">否</label>
</c:if>
<c:if test="${departmentInfo.questionFiveAnswer == '2'}">
    <input type="radio" value="1" id="f_questionFiveAnswerC1" name="questionFiveAnswerC" disabled />
    <label for="f_questionFiveAnswerC1">是</label>
    <input type="radio" value="2" id="f_questionFiveAnswerC2" name="questionFiveAnswerC" disabled />
    <label for="f_questionFiveAnswerC2">否</label>
</c:if>

            </span>
    </td>
</tr>


<tr>
    <td>
        <input type="file" id="questionFiveCImageUrl1" name="questionFiveCImageUrl1"/>
        <input type="button" onclick="ajaxFileUploadThree('questionFiveCImageUrl1','#questionFiveCImageUrlImage1','#questionFiveImageUrlC','#questionFiveImageUrlC1Href')"
               value="上传图片"/>
        <a id="questionFiveImageUrlC1Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionFiveImageUrlC}"/>" target="_blank">
        <img id="questionFiveCImageUrlImage1" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionFiveImageUrlC}"/>"/>
        </a>
        <input type="hidden" id="questionFiveImageUrlC" name="questionFiveImageUrlC"
               value="${departmentInfo.questionFiveImageUrlC}"/>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionFiveCImageUrl2" name="questionFiveCImageUrl2"/>
        <input type="button" onclick="ajaxFileUploadThree('questionFiveCImageUrl2','#questionFiveCImageUrlImage2','#questionFiveImageUrlC2','#questionFiveImageUrlC2Href')"
               value="上传图片"/>
        <a id="questionFiveImageUrlC2Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionFiveImageUrlC2}"/>" target="_blank">
        <img id="questionFiveCImageUrlImage2" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionFiveImageUrlC2}"/>"/>
        </a>
        <input type="hidden" id="questionFiveImageUrlC2" name="questionFiveImageUrlC2"
               value="${departmentInfo.questionFiveImageUrlC2}"/>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionFiveCImageUrl3" name="questionFiveCImageUrl3"/>
        <input type="button" onclick="ajaxFileUploadThree('questionFiveCImageUrl3','#questionFiveCImageUrlImage3','#questionFiveImageUrlC3','#questionFiveImageUrlC3Href')"
               value="上传图片"/>
        <a id="questionFiveImageUrlC3Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionFiveImageUrlC3}"/>" target="_blank">
        <img id="questionFiveCImageUrlImage3" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionFiveImageUrlC3}"/>"/>
        </a>
        <input type="hidden" id="questionFiveImageUrlC3" name="questionFiveImageUrlC3"
               value="${departmentInfo.questionFiveImageUrlC3}"/>
    </td>
</tr>

<tr>
    <td>
        <p>
            --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p>
    </td>
</tr>


<tr>
    <td style="font-size:16px; font-weight:bold;">Q6&nbsp;&nbsp;针对麦德龙和山姆会员店是否有相关促销活动物料？</td>
</tr>

<tr>
    <td>
            <span>
                <input type="radio" value="a" id="f_questionSixAnswer1" name="questionSixAnswer"
                       <c:if test="${departmentInfo.questionSixAnswer == 'a'}">checked="checked" </c:if> />
                <label for="f_questionSixAnswer1">a、活动”买满***金额，送***礼品“</label>
                <input type="radio" value="b" id="f_questionSixAnswer2" name="questionSixAnswer"
                       <c:if test="${departmentInfo.questionSixAnswer == 'b'}">checked="checked" </c:if> />
                <label for="f_questionSixAnswer2">b、其他宣传物料，请注明
                <c:if test="${departmentInfo.questionSixAnswer == 'b'}">
                    <input name="questionSixAnswerSelf" value="${departmentInfo.questionSixAnswerSelf}">
                </c:if>

                    <c:if test="${departmentInfo.questionSixAnswer == null or departmentInfo.questionSixAnswer == 'a' or departmentInfo.questionSixAnswer == 'c' or departmentInfo.questionSixAnswer == 'd'}">
                        <input name="questionSixAnswerSelf" value="">
                    </c:if>
                </label>
                <input type="radio" value="c" id="f_questionSixAnswer3" name="questionSixAnswer"
                       <c:if test="${departmentInfo.questionSixAnswer == 'c'}">checked="checked" </c:if> />
                <label for="f_questionSixAnswer3">c、无</label>
                 <input type="radio" value="d" id="f_questionSixAnswer4" name="questionSixAnswer"
                        <c:if test="${departmentInfo.questionSixAnswer == 'd'}">checked="checked" </c:if> />
                <label for="f_questionSixAnswer4">d、非麦德龙或山姆会员店</label>
            </span>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionSixImageUrl1" name="questionSixImageUrl1"/>
        <input type="button" onclick="ajaxFileUploadThree('questionSixImageUrl1','#questionSixImageUrlImage1','#questionSixAnswerImage','#questionSixImageUrl1Href')"
               value="上传图片"/>
        <a id="questionSixImageUrl1Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionSixAnswerImage}"/>" target="_blank">
        <img id="questionSixImageUrlImage1" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionSixAnswerImage}"/>"/>
        </a>
        <input type="hidden" id="questionSixAnswerImage" name="questionSixAnswerImage"
               value="${departmentInfo.questionSixAnswerImage}"/>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionSixImageUrl2" name="questionSixImageUrl2"/>
        <input type="button" onclick="ajaxFileUploadThree('questionSixImageUrl2','#questionSixImageUrlImage2','#questionSixAnswerImage2','#questionSixImageUrl2Href')"
               value="上传图片"/>
        <a id="questionSixImageUrl2Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionSixAnswerImage2}"/>" target="_blank">
        <img id="questionSixImageUrlImage2" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionSixAnswerImage2}"/>"/>
        </a>
        <input type="hidden" id="questionSixAnswerImage2" name="questionSixAnswerImage2"
               value="${departmentInfo.questionSixAnswerImage2}"/>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionSixImageUrl3" name="questionSixImageUrl3"/>
        <input type="button" onclick="ajaxFileUploadThree('questionSixImageUrl3','#questionSixImageUrlImage3','#questionSixAnswerImage3','#questionSixImageUrl3Href')"
               value="上传图片"/>
        <a id="questionSixImageUrl3Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionSixAnswerImage3}"/>" target="_blank">
        <img id="questionSixImageUrlImage3" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionSixAnswerImage3}"/>"/>
        </a>
        <input type="hidden" id="questionSixAnswerImage3" name="questionSixAnswerImage3"
               value="${departmentInfo.questionSixAnswerImage3}"/>
    </td>
</tr>

<tr>
    <td>
        <p>
            --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p>
    </td>
</tr>


<tr>
    <td>
        <span style="width:500px;display:inline-block;font-size:16px; font-weight:bold;">Q7&nbsp;&nbsp;店内是否有轩尼诗促销员？（促销员在店时间是10:00-12:00；13:00-18:00）</span>
            <span>
                <input type="radio" value="1" id="f_questionSevenAnswerOne1" name="questionSevenAnswerOne"
                       <c:if test="${departmentInfo.questionSevenAnswerOne == '1'}">checked="checked" </c:if> />
                <label for="f_questionSevenAnswerOne1">促销员在店</label>
                <input type="radio" value="2" id="f_questionSevenAnswerOne2" name="questionSevenAnswerOne"
                       <c:if test="${departmentInfo.questionSevenAnswerOne == '2'}">checked="checked" </c:if> />
                <label for="f_questionSevenAnswerOne2">等待15分钟后促销员在店</label>
                <input type="radio" value="3" id="f_questionSevenAnswerOne3" name="questionSevenAnswerOne"
                       <c:if test="${departmentInfo.questionSevenAnswerOne == '3'}">checked="checked" </c:if> />
                <label for="f_questionSevenAnswerOne3">无促销员</label>
            </span>
    </td>
</tr>
<script type="text/javascript">
    $("input[name='questionSevenAnswerOne']").change(function () {
        if ($(this).val() == 1) {
            $("input[name='questionEightAnswer']").prop("disabled", false);
            $("input[name='questionNineAnswer']").prop("disabled", false);
            $("input[name='questionSevenAnswerTwo']").prop("disabled", true);
            $("input[name='questionSevenAnswerTwo']").prop("checked", false);
            $("input[name='questionEightAnswer']").prop("checked", false);
            $("input[name='questionNineAnswer']").prop("checked", false);


        }
        if ($(this).val() == 2) {
            $("input[name='questionEightAnswer']").prop("disabled", false);
            $("input[name='questionNineAnswer']").prop("disabled", false);
            $("input[name='questionSevenAnswerTwo']").prop("disabled", true);
            $("input[name='questionSevenAnswerTwo']").prop("checked", false)
            $("input[name='questionEightAnswer']").prop("checked", false);
            $("input[name='questionNineAnswer']").prop("checked", false);

        }
        if ($(this).val() == 3) {
            $("#f_questionSevenAnswerTwo1").prop("checked", true);
            $('#f_questionEightAnswer5').prop("checked", true);
            $("input[name='questionEightAnswer']").prop("disabled", true);
            $('#f_questionNineAnswer3').prop("checked", true);
            $("input[name='questionNineAnswer']").prop("disabled", true);
            $("#f_questionSevenAnswerTwo1").prop("checked", true);
            $("input[name='questionSevenAnswerTwo']").prop("disabled", false);
            $("input[name='questionSevenAnswerTwo']").prop("checked", false)

        }
    });
</script>
    <tr>
        <td>
            <p>
                --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p>
        </td>
    </tr>

    <tr>
        <td>
            <span>
                <c:if test="${departmentInfo.questionSevenAnswerOne == null or departmentInfo.questionSevenAnswerOne == '3'}">
                    <input type="radio" value="1" id="f_questionSevenAnswerTwo1" name="questionSevenAnswerTwo"
                           <c:if test="${ departmentInfo.questionSevenAnswerTwo == '1'}">checked="checked" </c:if> />
                    <label for="f_questionSevenAnswerTwo1">1.促销员一整天请假</label>
                    <input type="radio" value="2" id="f_questionSevenAnswerTwo2" name="questionSevenAnswerTwo"
                           <c:if test="${departmentInfo.questionSevenAnswerTwo == '2'}">checked="checked" </c:if> />
                    <label for="f_questionSevenAnswerTwo2">2.促销员已辞职 </label>
                    <input type="radio" value="3" id="f_questionSevenAnswerTwo3" name="questionSevenAnswerTwo"
                           <c:if test="${departmentInfo.questionSevenAnswerTwo == '3'}">checked="checked" </c:if> />
                    <label for="f_questionSevenAnswerTwo3">3.促销员临时请假（今天来过，后来离开） </label>
                    <input type="radio" value="4" id="f_questionSevenAnswerTwo4" name="questionSevenAnswerTwo"
                           <c:if test="${departmentInfo.questionSevenAnswerTwo == '4'}">checked="checked" </c:if> />
                    <label for="f_questionSevenAnswerTwo4">4.促销员在吃饭，未能在15分钟回到岗位 </label>
                    <input type="radio" value="5" id="f_questionSevenAnswerTwo5" name="questionSevenAnswerTwo"
                           <c:if test="${departmentInfo.questionSevenAnswerTwo == '5'}">checked="checked" </c:if> />
                    <label for="f_questionSevenAnswerTwo5">5.促销员临时离店未知理由，未能在15分钟内回到岗位</label>
                    <input type="radio" value="97" id="f_questionSevenAnswerTwo6" name="questionSevenAnswerTwo"
                           <c:if test="${departmentInfo.questionSevenAnswerTwo == '97'}">checked="checked"  </c:if> />
                    <label for="f_questionSevenAnswerTwo6">97.其他，请注明
                        <c:if test="${departmentInfo.questionSevenAnswerTwo == '97'}">
                            <input name="questionSevenAnswerTwoSelf"
                                   value="${departmentInfo.questionSevenAnswerTwoSelf}"/>
                        </c:if>
                        <c:if test="${departmentInfo.questionSevenAnswerTwo == null or departmentInfo.questionSevenAnswerTwo == '1' or departmentInfo.questionSevenAnswerTwo == '2' or departmentInfo.questionSevenAnswerTwo == '3' or departmentInfo.questionSevenAnswerTwo == '4' or departmentInfo.questionSevenAnswerTwo == '5' or departmentInfo.questionSevenAnswerTwo == '99'}">
                            <input name="questionSevenAnswerTwoSelf"
                                   value=""/>
                        </c:if>
                    </label>
                    <input type="radio" value="99" id="f_questionSevenAnswerTwo7" name="questionSevenAnswerTwo"
                           <c:if test="${departmentInfo.questionSevenAnswerTwo == '99'}">checked="checked" </c:if> />
                    <label for="f_questionSevenAnswerTwo7">99.无法判断促销员不在店原因</label>
                    </c:if>

            <c:if test="${departmentInfo.questionSevenAnswerOne == '2' or departmentInfo.questionSevenAnswerOne == '1'}">
                <input type="radio" value="1" id="f_questionSevenAnswerTwo1" name="questionSevenAnswerTwo" disabled
                       />
                <label for="f_questionSevenAnswerTwo1">1.促销员一整天请假</label>
                <input type="radio" value="2" id="f_questionSevenAnswerTwo2" name="questionSevenAnswerTwo" disabled
                        />
                <label for="f_questionSevenAnswerTwo2">2促销员已辞职 </label>
                <input type="radio" value="3" id="f_questionSevenAnswerTwo3" name="questionSevenAnswerTwo" disabled
                       />
                <label for="f_questionSevenAnswerTwo3">3.促销员临时请假（今天来过，后来离开） </label>
                <input type="radio" value="4" id="f_questionSevenAnswerTwo4" name="questionSevenAnswerTwo" disabled
                       />
                <label for="f_questionSevenAnswerTwo4">4.促销员在吃饭，未能在15分钟回到岗位 </label>
                <input type="radio" value="5" id="f_questionSevenAnswerTwo5" name="questionSevenAnswerTwo" disabled
                        />
                <label for="f_questionSevenAnswerTwo5">5.促销员临时离店未知理由，未能在15分钟内回到岗位</label>
                <input type="radio" value="97" id="f_questionSevenAnswerTwo6" name="questionSevenAnswerTwo" disabled/>
                <label for="f_questionSevenAnswerTwo6">97.其他，请注明
                    <c:if test="${departmentInfo.questionSevenAnswerTwo == '97'}">
                        <input name="questionSevenAnswerTwoSelf"
                               value="${departmentInfo.questionSevenAnswerTwoSelf}"/>
                    </c:if>
                    <c:if test="${departmentInfo.questionSevenAnswerTwo == null or departmentInfo.questionSevenAnswerTwo == '1' or departmentInfo.questionSevenAnswerTwo == '2' or departmentInfo.questionSevenAnswerTwo == '3' or departmentInfo.questionSevenAnswerTwo == '4' or departmentInfo.questionSevenAnswerTwo == '5' or departmentInfo.questionSevenAnswerTwo == '99'}">
                        <input name="questionSevenAnswerTwoSelf"
                               value=""/>
                    </c:if>
                </label>
                <input type="radio" value="99" id="f_questionSevenAnswerTwo7" name="questionSevenAnswerTwo" disabled />
                <label for="f_questionSevenAnswerTwo7">99.无法判断促销员不在店原因</label>
                </c:if>

</span>
        </td>
    </tr>

<tr>
    <td>
        <input type="file" id="questionSevenImageUrl1" name="questionSevenImageUrl1"/>
        <input type="button" onclick="ajaxFileUploadThree('questionSevenImageUrl1','#questionSevenImageUrlImage1','#questionSevenAnswerImageUrl','#questionSevenImageUrl1Href')"
               value="上传图片"/>
        <a id="questionSevenImageUrl1Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionSevenAnswerImageUrl}"/>" target="_blank">
        <img id="questionSevenImageUrlImage1" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionSevenAnswerImageUrl}"/>"/>
        </a>
        <input type="hidden" id="questionSevenAnswerImageUrl" name="questionSevenAnswerImageUrl"
               value="${departmentInfo.questionSevenAnswerImageUrl}"/>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionSevenImageUrl2" name="questionSevenImageUrl2"/>
        <input type="button" onclick="ajaxFileUploadThree('questionSevenImageUrl2','#questionSevenImageUrlImage2','#questionSevenAnswerImageUrl2','#questionSevenImageUrl2Href')"
               value="上传图片"/>
        <a id="questionSevenImageUrl2Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionSevenAnswerImageUrl2}"/>" target="_blank">
        <img id="questionSevenImageUrlImage2" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionSevenAnswerImageUrl2}"/>"/>
        </a>
        <input type="hidden" id="questionSevenAnswerImageUrl2" name="questionSevenAnswerImageUrl2"
               value="${departmentInfo.questionSevenAnswerImageUrl2}"/>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionSevenImageUrl3" name="questionSevenImageUrl3"/>
        <input type="button" onclick="ajaxFileUploadThree('questionSevenImageUrl3','#questionSevenImageUrlImage3','#questionSevenAnswerImageUrl3','#questionSevenImageUrl3Href')"
               value="上传图片"/>
        <a id="questionSevenImageUrl3Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionSevenAnswerImageUrl3}"/>" target="_blank">
        <img id="questionSevenImageUrlImage3" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionSevenAnswerImageUrl3}"/>"/>
        </a>
        <input type="hidden" id="questionSevenAnswerImageUrl3" name="questionSevenAnswerImageUrl3"
               value="${departmentInfo.questionSevenAnswerImageUrl3}"/>
    </td>
</tr>

<tr>
    <td>
        <p>
            --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p>
    </td>
</tr>



<tr>
    <td style="font-size:16px; font-weight:bold;">Q8&nbsp;&nbsp;如果店内有轩尼诗促销员，请判断促销员服装类型</td>
</tr>
<tr>
    <td class="item-name" style="font-size:14px;">
<c:if test="${departmentInfo.questionSevenAnswerOne == '3'}">
    <input type="radio" value="a" name="questionEightAnswer" id="f_questionEightAnswer1" disabled
           <c:if test="${departmentInfo.questionEightAnswer == 'a'}">checked="checked" </c:if>>
    <label for="f_questionEightAnswer1">a、轩尼诗制服</label>
    <input type="radio" value="b" name="questionEightAnswer" id="f_questionEightAnswer2" disabled
           <c:if test="${departmentInfo.questionEightAnswer == 'b'}">checked="checked" </c:if>>
    <label for="f_questionEightAnswer2">b、尊尼获加蓝牌制服</label>
    <input type="radio" value="c" name="questionEightAnswer" id="f_questionEightAnswer3" disabled
           <c:if test="${departmentInfo.questionEightAnswer == 'c'}">checked="checked" </c:if>>
    <label for="f_questionEightAnswer3">c、其他制服</label>
    <input type="radio" value="d" name="questionEightAnswer" id="f_questionEightAnswer4" disabled
           <c:if test="${departmentInfo.questionEightAnswer == 'd'}">checked="checked" </c:if>>
    <label for="f_questionEightAnswer4">d、未着制服</label>
    <input type="radio" value="e" name="questionEightAnswer" id="f_questionEightAnswer5" disabled
           <c:if test="${departmentInfo.questionEightAnswer == 'e'}">checked="checked" </c:if>>
    <label for="f_questionEightAnswer5">e、无促销员</label>
</c:if>
<c:if test="${departmentInfo.questionSevenAnswerOne == null or departmentInfo.questionSevenAnswerOne == '1' or departmentInfo.questionSevenAnswerOne == '2'}">
        <input type="radio" value="a" name="questionEightAnswer" id="f_questionEightAnswer1"
               <c:if test="${departmentInfo.questionEightAnswer == 'a'}">checked="checked" </c:if>>
        <label for="f_questionEightAnswer1">a、轩尼诗制服</label>
        <input type="radio" value="b" name="questionEightAnswer" id="f_questionEightAnswer2"
               <c:if test="${departmentInfo.questionEightAnswer == 'b'}">checked="checked" </c:if>>
        <label for="f_questionEightAnswer2">b、尊尼获加蓝牌制服</label>
        <input type="radio" value="c" name="questionEightAnswer" id="f_questionEightAnswer3"
               <c:if test="${departmentInfo.questionEightAnswer == 'c'}">checked="checked" </c:if>>
        <label for="f_questionEightAnswer3">c、其他制服</label>
        <input type="radio" value="d" name="questionEightAnswer" id="f_questionEightAnswer4"
               <c:if test="${departmentInfo.questionEightAnswer == 'd'}">checked="checked" </c:if>>
        <label for="f_questionEightAnswer4">d、未着制服</label>
        <input type="radio" value="e" name="questionEightAnswer" id="f_questionEightAnswer5"
               <c:if test="${departmentInfo.questionEightAnswer == 'e'}">checked="checked" </c:if>>
        <label for="f_questionEightAnswer5">e、无促销员</label>
    </td>
        </c:if>
</tr>

<tr>
    <td>
        <input type="file" id="questionEightImageUrlA1" name="questionEightImageUrlA1"/>
        <input type="button" onclick="ajaxFileUploadThree('questionEightImageUrlA1','#questionEightImageUrlImageA','#questionEightImageUrlA','#questionEightImageUrl1Href')"
               value="上传图片"/>
        <a id="questionEightImageUrl1Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionEightImageUrlA}"/>" target="_blank">
        <img id="questionEightImageUrlImageA" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionEightImageUrlA}"/>"/>
        </a>
        <input type="hidden" id="questionEightImageUrlA" name="questionEightImageUrlA"
               value="${departmentInfo.questionEightImageUrlA}"/>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionEightImageUrlB1" name="questionEightImageUrlB1"/>
        <input type="button" onclick="ajaxFileUploadThree('questionEightImageUrlB1','#questionEightImageUrlImageB','#questionEightImageUrlB','#questionEightImageUrl2Href')"
               value="上传图片"/>
        <a id="questionEightImageUrl2Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionEightImageUrlB}"/>" target="_blank">
        <img id="questionEightImageUrlImageB" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionEightImageUrlB}"/>"/>
        </a>
        <input type="hidden" id="questionEightImageUrlB" name="questionEightImageUrlB"
               value="${departmentInfo.questionEightImageUrlB}"/>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionEightImageUrlC1" name="questionEightImageUrlC1"/>
        <input type="button" onclick="ajaxFileUploadThree('questionEightImageUrlC1','#questionEightImageUrlImageC','#questionEightImageUrlC','#questionEightImageUrl3Href')"
               value="上传图片"/>
        <a id="questionEightImageUrl3Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${departmentInfo.questionEightImageUrlC}"/>" target="_blank">
        <img id="questionEightImageUrlImageC" height="50px" width="50px"
             src="<c:url value="/${departmentInfo.questionEightImageUrlC}"/>"/>
        </a>
        <input type="hidden" id="questionEightImageUrlC" name="questionEightImageUrlC"
               value="${departmentInfo.questionEightImageUrlC}"/>
    </td>
</tr>

<tr>
    <td>
        <p>
            --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p>
    </td>
</tr>

<tr>
    <td style="font-size:16px; font-weight:bold;">Q9&nbsp;&nbsp;轩尼诗促销员是否提到轩尼诗活动？</td>
</tr>
<tr>
    <td class="item-name" style="font-size:14px;">

<c:if test="${departmentInfo.questionSevenAnswerOne == '3'}">
    <input type="radio" value="1" name="questionNineAnswer" id="f_questionNineAnswer1" disabled
           <c:if test="${departmentInfo.questionNineAnswer == '1'}">checked="checked" </c:if>>
    <label for="f_questionNineAnswer1">是</label>
    <input type="radio" value="2" name="questionNineAnswer" id="f_questionNineAnswer2" disabled
           <c:if test="${departmentInfo.questionNineAnswer == '2'}">checked="checked" </c:if>>
    <label for="f_questionNineAnswer2">否</label>
    <input type="radio" value="3" name="questionNineAnswer" id="f_questionNineAnswer3" disabled

           <c:if test="${departmentInfo.questionNineAnswer == '3'}">checked="checked" </c:if>>
    <label for="f_questionNineAnswer3">无促销员</label>
</c:if>
<c:if test="${departmentInfo.questionSevenAnswerOne == null or departmentInfo.questionSevenAnswerOne == '1' or departmentInfo.questionSevenAnswerOne == '2'}">
    <input type="radio" value="1" name="questionNineAnswer" id="f_questionNineAnswer1"
           <c:if test="${departmentInfo.questionNineAnswer == '1'}">checked="checked" </c:if>>
    <label for="f_questionNineAnswer1">是</label>
    <input type="radio" value="2" name="questionNineAnswer" id="f_questionNineAnswer2"
           <c:if test="${departmentInfo.questionNineAnswer == '2'}">checked="checked" </c:if>>
    <label for="f_questionNineAnswer2">否</label>
    <input type="radio" value="3" name="questionNineAnswer" id="f_questionNineAnswer3"
           <c:if test="${departmentInfo.questionNineAnswer == '3'}">checked="checked" </c:if>>
    <label for="f_questionNineAnswer3">无促销员</label>

</c:if>

    </td>
</tr>

<tr>
    <td>
        <span style="width:500px;display:inline-block;font-size:16px; font-weight:bold;">Q10&nbsp;&nbsp;店内马爹利是否有促销活动？（包括店内看到的宣传物品、二级陈列和询问店主或者促销员</span>
            <span>
                <input type="radio" value="1" id="f_questionTenAnswer1" name="questionTenAnswer"
                       <c:if test="${questionTwo.questionTenAnswer == '1'}">checked="checked" </c:if> />
                <label for="f_questionTenAnswer1">是</label>
                <input type="radio" value="2" id="f_questionTenAnswer2" name="questionTenAnswer"
                       <c:if test="${questionTwo.questionTenAnswer == '2'}">checked="checked" </c:if> />
                <label for="f_questionTenAnswer2">否</label>
            </span>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionTenImageUrl1" name="questionTenImageUrl1"/>
        <input type="button" onclick="ajaxFileUploadThree('questionTenImageUrl1','#questionTenImageUrlImage1','#questionTenAnswerImageUrl','#questionTenImageUrl1Href')"
               value="上传图片"/>
        <a id="questionTenImageUrl1Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${questionTwo.questionTenAnswerImageUrl}"/>" target="_blank">
        <img id="questionTenImageUrlImage1" height="50px" width="50px"
             src="<c:url value="/${questionTwo.questionTenAnswerImageUrl}"/>"/>
            </a>
        <input type="hidden" id="questionTenAnswerImageUrl" name="questionTenAnswerImageUrl"
               value="${questionTwo.questionTenAnswerImageUrl}"/>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionTenImageUrl2" name="questionTenImageUrl2"/>
        <input type="button" onclick="ajaxFileUploadThree('questionTenImageUrl2','#questionTenImageUrlImage2','#questionTenAnswerImageUrl2','#questionTenImageUrl2Href')"
               value="上传图片"/>
        <a id="questionTenImageUrl2Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${questionTwo.questionTenAnswerImageUrl2}"/>" target="_blank">
        <img id="questionTenImageUrlImage2" height="50px" width="50px"
             src="<c:url value="/${questionTwo.questionTenAnswerImageUrl2}"/>"/>
        </a>
        <input type="hidden" id="questionTenAnswerImageUrl2" name="questionTenAnswerImageUrl2"
               value="${questionTwo.questionTenAnswerImageUrl2}"/>

    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionTenImageUrl3" name="questionTenImageUrl3"/>
        <input type="button" onclick="ajaxFileUploadThree('questionTenImageUrl3','#questionTenImageUrlImage3','#questionTenAnswerImageUrl3','#questionTenImageUrl3Href')"
               value="上传图片"/>
        <a id="questionTenImageUrl3Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${questionTwo.questionTenAnswerImageUrl3}"/>" target="_blank">
        <img id="questionTenImageUrlImage3" height="50px" width="50px"
             src="<c:url value="/${questionTwo.questionTenAnswerImageUrl3}"/>"/>
        </a>
        <input type="hidden" id="questionTenAnswerImageUrl3" name="questionTenAnswerImageUrl3"
               value="${questionTwo.questionTenAnswerImageUrl3}"/>

    </td>
</tr>

<tr>
    <td>
        <p>
            --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</p>
    </td>
</tr>

<tr>
    <td>
        <span style="width:500px;display:inline-block;font-size:16px; font-weight:bold;">Q11&nbsp;&nbsp;店内人头马是否有促销活动？（包括店内看到的宣传物品、二级陈列和询问店主或者促销员）</span>
            <span>
                <input type="radio" value="1" id="f_questionElevenAnswer1" name="questionElevenAnswer"
                       <c:if test="${questionTwo.questionElevenAnswer == '1'}">checked="checked" </c:if> />
                <label for="f_questionElevenAnswer1">是</label>
                <input type="radio" value="2" id="f_questionElevenAnswer2" name="questionElevenAnswer"
                       <c:if test="${questionTwo.questionElevenAnswer == '2'}">checked="checked" </c:if> />
                <label for="f_questionElevenAnswer2">否</label>
            </span>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionElevenImageUrl1" name="questionElevenImageUrl1"/>
        <input type="button" onclick="ajaxFileUploadThree('questionElevenImageUrl1','#questionElevenImageUrlImage1','#questionElevenAnswerImageUrl','#questionElevenImageUrl1Href')"
               value="上传图片"/>
        <a id="questionElevenImageUrl1Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${questionTwo.questionElevenAnswerImageUrl}"/>" target="_blank">
        <img id="questionElevenImageUrlImage1" height="50px" width="50px"
             src="<c:url value="/${questionTwo.questionElevenAnswerImageUrl}"/>"/>
        </a>
        <input type="hidden" id="questionElevenAnswerImageUrl" name="questionElevenAnswerImageUrl"
               value="${questionTwo.questionElevenAnswerImageUrl}"/>
    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionElevenImageUrl2" name="questionElevenImageUrl2"/>
        <input type="button" onclick="ajaxFileUploadThree('questionElevenImageUrl2','#questionElevenImageUrlImage2','#questionElevenAnswerImageUrl2','#questionElevenImageUrl2Href')"
               value="上传图片"/>
        <a id="questionElevenImageUrl2Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${questionTwo.questionElevenAnswerImageUrl2}"/>" target="_blank">
        <img id="questionElevenImageUrlImage2" height="50px" width="50px"
             src="<c:url value="/${questionTwo.questionElevenAnswerImageUrl2}"/>"/>
        </a>
        <input type="hidden" id="questionElevenAnswerImageUrl2" name="questionElevenAnswerImageUrl2"
               value="${questionTwo.questionElevenAnswerImageUrl2}"/>

    </td>
</tr>

<tr>
    <td>
        <input type="file" id="questionElevenImageUrl3" name="questionElevenImageUrl3"/>
        <input type="button" onclick="ajaxFileUploadThree('questionElevenImageUrl3','#questionElevenImageUrlImage3','#questionElevenAnswerImageUrl3','#questionElevenImageUrl3Href')"
               value="上传图片"/>
        <a id="questionElevenImageUrl3Href" href="<c:url value="/web/depart/picture.action?remarkUrl=${questionTwo.questionElevenAnswerImageUrl3}"/>" target="_blank">
        <img id="questionElevenImageUrlImage3" height="50px" width="50px"
             src="<c:url value="/${questionTwo.questionElevenAnswerImageUrl3}"/>"/>
        </a>
        <input type="hidden" id="questionElevenAnswerImageUrl3" name="questionElevenAnswerImageUrl3"
               value="${questionTwo.questionElevenAnswerImageUrl3}"/>

    </td>
</tr>

<tr>
    <td style="text-align: center">
        <a href="javascript:void(0)" class="easyui-linkbutton" onclick="submitEdit()">提交</a>&nbsp;&nbsp;&nbsp;&nbsp;
        <a href="javascript:void(0)" class="easyui-linkbutton" onclick="closeWindow('#wDepartmentInfo')">取消</a>
    </td>
</tr>
</table>


</form>


<script type="text/javascript">
    function ajaxFileUpload(a, b) {
        $.ajaxFileUpload({
            url: '<c:url value="/web/depart/uploadPicture.action"/>',
            type: 'post',
            data: {departmentInfoId: ${departmentInfo.departmentInfoId}},
            fileElementId: a, // 上传文件的id、name属性名
            dataType: 'text', //返回值类型，一般设置为json、application/json
            success: function (data, status) {
                if (data == 1) {
                    alert("上传失败");
                }
                else {
                    $(b).attr("src", '/dp/' + data);
                }
            }
        });
    }

    function ajaxFileUploadTwo(a, b, c) {
        $.ajaxFileUpload({
            url: '<c:url value="/web/depart/uploadPicture.action"/>',
            type: 'post',
            data: {departmentInfoId: ${departmentInfo.departmentInfoId}},
            fileElementId: a, // 上传文件的id、name属性名
            dataType: 'text', //返回值类型，一般设置为json、application/json
            success: function (data, status) {
                if (data == 1) {
                    alert("上传失败");
                }
                else {
                    $(c).val(data);
                    $(b).attr("src", '/dp/' + data);
                }
            }
        });
    }

    function ajaxFileUploadThree(a, b, c,d) {
        $.ajaxFileUpload({
            url: '<c:url value="/web/depart/uploadPicture.action"/>',
            type: 'post',
            data: {departmentInfoId: ${departmentInfo.departmentInfoId}},
            fileElementId: a, // 上传文件的id、name属性名
            dataType: 'text', //返回值类型，一般设置为json、application/json
            success: function (data, status) {
                if (data == 1) {
                    alert("上传失败");
                }
                else {
                    $(c).val(data);
                    $(b).attr("src", '/dp/' + data);
                    $(d).prop("href","<c:url value="/web/depart/picture.action?remarkUrl="/>"+data);
                }
            }
        });
    }

    function submitEdit() {

        if ($("input[name='canUserDepartmentAnswer']").is(':checked')==Boolean(false)){
            alert("请选择门店是否为有效门店！");
            return false;
        }

        if($("#f_canUserDepartmentAnswer2").is(':checked')){

        }
        else{

            if ($("input[name='questionOneAAnswer']").is(':checked')==Boolean(false)){
                alert("请选择问题1选项a的值！");
                return false;
            }
            if ($("input[name='questionOneBAnswer']").is(':checked')==Boolean(false)){
                alert("请选择问题1选项b的值！");
                return false;
            }
            if ($("input[name='questionOneCAnswer']").is(':checked')==Boolean(false)){
                alert("请选择问题1选项c的值！");
                return false;
            }
            if ($("input[name='questionOneDAnswer']").is(':checked')==Boolean(false)){
                alert("请选择问题1选项d的值！");
                return false;
            }
            if ($("input[name='questionOneEAnswer']").is(':checked')==Boolean(false)){
                alert("请选择问题1选项e的值！");
                return false;
            }
            if ($("input[name='questionOneFAnswer']").is(':checked')==Boolean(false)){
                alert("请选择问题1选项f的值！");
                return false;
            }
            if ($("input[name='questionOneGAnswer']").is(':checked')==Boolean(false)){
                alert("请选择问题1选项g的值！");
                return false;
            }
            if ($("input[name='questionOneHAnswer']").is(':checked')==Boolean(false)){
                alert("请选择问题1选项h的值！");
                return false;
            }

            if ($("input[name='questionTwoAnswer']").is(':checked')==Boolean(false)){
                alert("请选择问题2的值！");
                return false;
            }
            if ($("input[name='questionThreeAnswer']").is(':checked')==Boolean(false)){
                alert("请选择问题3的值！");
                return false;
            }
            if ($("input[name='questionFourAnswer']").is(':checked')==Boolean(false)){
                alert("请选择问题4的值！");
                return false;
            }
            if ($("#f_questionFourAnswer1").is(':checked')){
                if($("input[name='questionFourOneAnswerA']").is(':checked')==Boolean(false)){
                    alert("请选择问题4.1中a选项的值");
                    return false;
                }
                if($("input[name='questionFourOneAnswerB']").is(':checked')==Boolean(false)){
                    alert("请选择问题4.1中b选项的值");
                    return false;
                }
                if($("input[name='questionFourOneAnswerC']").is(':checked')==Boolean(false)){
                    alert("请选择问题4.1中c选项的值");
                    return false;
                }
                if($("input[name='questionFourOneAnswerD']").is(':checked')==Boolean(false)){
                    alert("请选择问题4.1中d选项的值");
                    return false;
                }
                if($("#f_questionFourOneAnswerA1").is(':checked')==Boolean(false) &&
                        $("#f_questionFourOneAnswerB1").is(':checked')==Boolean(false) &&
                        $("#f_questionFourOneAnswerC1").is(':checked')==Boolean(false) &&
                        $("#f_questionFourOneAnswerD1").is(':checked')==Boolean(false)){
                    alert("问题4.1请至少abcd请至少选择1项为是！");
                    return false;
                }

            }
            if ($("input[name='questionFiveAnswer']").is(':checked')==Boolean(false)){
                alert("请选择问题5的值！");
                return false;
            }
            if ($("#f_questionFiveAnswer1").is(':checked')){
                if($("input[name='questionFiveAnswerA']").is(':checked')==Boolean(false) ){
                    alert("请选择问题5中a选项的值！");
                    return false;
                }
                if($("input[name='questionFiveAnswerB']").is(':checked')==Boolean(false) ){
                    alert("请选择问题5中b选项的值！");
                    return false;
                }
                if($("input[name='questionFiveAnswerC']").is(':checked')==Boolean(false) ){
                    alert("请选择问题5中c选项的值！");
                    return false;
                }
            }
            if ($("input[name='questionSixAnswer']").is(':checked')==Boolean(false)){
                alert("请选择问题6的值！");
                return false;
            }
            if ($("input[name='questionSevenAnswerOne']").is(':checked')==Boolean(false)){
                alert("请选择问题7的值！");
                return false;
            }

            if ($("#f_questionSevenAnswerOne3").is(':checked')){
                if($("input[name='questionSevenAnswerTwo']").is(':checked')==Boolean(false)){
                    alert("请选择问题7中无促销员的相应情况！");
                    return false;
                }
            }
            if ($("input[name='questionEightAnswer']").is(':checked')==Boolean(false)){
                alert("请选择问题8的值！");
                return false;
            }
            if ($("input[name='questionNineAnswer']").is(':checked')==Boolean(false)){
                alert("请选择问题9的值！");
                return false;
            }
            if ($("input[name='questionTenAnswer']").is(':checked')==Boolean(false)){
                alert("请选择问题10的值！");
                return false;
            }
            if ($("input[name='questionElevenAnswer']").is(':checked')==Boolean(false)){
                alert("请选择问题11的值！");
                return false;
            }

            //问题2的bug

            if ($("#f_questionTwoAnswer1").is(':checked')){
                if($("input[name='questionTwoTypeA']").is(':checked')==Boolean(false) &&
                        $("input[name='questionTwoTypeB']").is(':checked')==Boolean(false) &&
                        $("input[name='questionTwoTypeC']").is(':checked')==Boolean(false) &&
                        $("input[name='questionTwoTypeD']").is(':checked')==Boolean(false) &&
                        $("input[name='questionTwoTypeE']").is(':checked')==Boolean(false) &&
                        $("input[name='questionTwoTypeG']").is(':checked')==Boolean(false)){
                    alert("问题2中请至少选择一个选项");
                    return false;
                }
            }

            var flag = true;
            $(".validateNeed").each(function () {
                if (!$(this).validatebox("isValid")) {
                    flag = false;
                }
            });

            if (!flag) {
                return false;
            }
            var reg=/^\d+$/;
            if ($("input[name='questionTwoTypeA']").is(':checked')) {
                if ($("input[name='questionTwoNumA']").val().trim() == "" || $("input[name='questionTwoNumA']").val().trim() == null) {
                    alert("请输入问题2选项a、陈列1中的数量");
                    return false;
                }
                if (reg.test($("input[name='questionTwoNumA']").val())) {
                }
                else {
                    alert("问题2选项a、陈列1中请输入整数");
                    return false;
                }
            }

            if ($("input[name='questionTwoTypeB']").is(':checked')) {
                if ($("input[name='questionTwoNumB']").val().trim() == "" || $("input[name='questionTwoNumB']").val().trim() == null) {
                    alert("请输入问题2选项b、陈列2中的数量");
                    return false;
                }
                if (reg.test($("input[name='questionTwoNumB']").val())) {
                }
                else {
                    alert("问题2选项b、陈列2请输入整数");
                    return false;
                }
            }

            if ($("input[name='questionTwoTypeC']").is(':checked')) {
                if ($("input[name='questionTwoTypeC']").val().trim() == "" || $("input[name='questionTwoTypeC']").val().trim() == null) {
                    alert("请输入问题2选项c、陈列3中的数量");
                    return false;
                }

                if (reg.test($("input[name='questionTwoNumC']").val())) {
                }

                else {
                    alert("问题2选项c、陈列3中请输入整数");
                    return false;
                }

            }

            if ($("input[name='questionTwoTypeD']").is(':checked')) {
                if ($("input[name='questionTwoTypeD']").val().trim() == "" || $("input[name='questionTwoTypeD']").val().trim() == null) {
                    alert("请输入问题2选项d、陈列4中的数量");
                    return false;
                }
                if (reg.test($("input[name='questionTwoNumD']").val())) {
                }
                else {
                    alert("问题2选项d、陈列4请输入整数");
                    return false;
                }
            }

            if ($("input[name='questionTwoTypeE']").is(':checked')) {
                if ($("input[name='questionTwoTypeE']").val().trim() == "" || $("input[name='questionTwoTypeE']").val().trim() == null) {
                    alert("请输入问题2选项e、陈列5中的数量");
                    return false;
                }
                if (reg.test($("input[name='questionTwoNumE']").val())) {
                }
                else {
                    alert("问题2选项e、陈列5请输入整数");
                    return false;
                }
            }

            if ($("input[name='questionTwoTypeG']").is(':checked')) {
                if ($("input[name='questionTwoTypeG']").val().trim() == "" || $("input[name='questionTwoTypeG']").val().trim() == null) {
                    alert("请输入问题2选项g、其他地堆/陈列中的数量");
                    return false;
                }
                if (reg.test($("input[name='questionTwoNumG']").val())) {
                }
                else {
                    alert("问题2选项g、其他地堆/陈列中请输入整数");
                    return false;
                }
            }

            if ($("#f_questionFourOneAnswerA1").is(':checked')) {
                if ($("#questionFourOneAnswerANum").val().trim() == "" || $("#questionFourOneAnswerANum").val().trim() == null) {
                    alert("请输入问题4.1中a选项的数量");
                    return false;
                }
                if (reg.test($("#questionFourOneAnswerANum").val())) {

                }
                else {
                    alert("问题4.1中a选项中请输入整数");
                    return false;
                }
            }


            if ($("#f_questionFourOneAnswerB1").is(':checked')) {
                if ($("#questionFourOneAnswerBNum").val().trim() == "" || $("#questionFourOneAnswerBNum").val().trim() == null) {
                    alert("请输入问题4.1中b选项的数量");
                    return false;
                }
                if (reg.test($("#questionFourOneAnswerBNum").val())) {

                }
                else {
                    alert("问题4.1中b选项中请输入整数");
                    return false;
                }
            }

        }
            $("#wDepartmentInfo").window('close');
            $("#myFormDepartment").ajaxSubmit({
            success: function (html, status) {
                alert("编辑成功");
                $('#dgDepartmentInfo').datagrid('reload');
            }
        });
    }
</script>
